Re: [OT] $DISPLAY screwing up with EPS when matlab run in background?
From: yongtao yang (yongtao.yang_at_gmail.com)
Date: 04/29/05
- Previous message: Graham Smith: "Re: Cron Problem"
- In reply to: H. S.: "[OT] $DISPLAY screwing up with EPS when matlab run in background?"
- Next in thread: H. S.: "Re: [OT] $DISPLAY screwing up with EPS when matlab run in background?"
- Reply: H. S.: "Re: [OT] $DISPLAY screwing up with EPS when matlab run in background?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Fri, 29 Apr 2005 11:25:26 +0200 To: debian-user@lists.debian.org
On 4/29/05, H. S. <greatexcalibur@yahoo.com> wrote:
>
> (I posted this in comp.soft-sys.matlab but got no response, so I am
> trying my luck here)
>
> Hi,
>
> (matlab version: (version 6.5.1.199709 (R13) Service Pack 1) )
> I am trying to run a matlab function I wrote in the background. The
> function plots the color histogram of a given image, opens the plot
> window and prints out the figure to an EPS file. When I run the function
> from within a matlab session, everything works fine. But when I run it
> in background, problem arises in the eps file generated.
>
> I have a bunch of images to make histograms of. So I wrote a shell
> script which calls matlab in the background and runs the function over
> all the images. However, I do not get a proper EPS file. The resulting
> file is just tiny little white square. The output file of the background
> session does not report any errors.
>
That seems to be a known bug of Matlab 6.X, basically matlab need the
$DISPLAY variable to get correct dimensions of the figures. There is
no work around.
However MATLAB7.X had fixed that bug.
HTH
-- Yongtao Yang email: yongtao.yang@gmail.com
- Previous message: Graham Smith: "Re: Cron Problem"
- In reply to: H. S.: "[OT] $DISPLAY screwing up with EPS when matlab run in background?"
- Next in thread: H. S.: "Re: [OT] $DISPLAY screwing up with EPS when matlab run in background?"
- Reply: H. S.: "Re: [OT] $DISPLAY screwing up with EPS when matlab run in background?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|