Re: [OT] $DISPLAY screwing up with EPS when matlab run in background?

From: yongtao yang (yongtao.yang_at_gmail.com)
Date: 04/29/05

  • Next message: Alberto Bert: "net on laptop: intuitively, laptop-net, laptop-netconf, ..."
    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
    

  • Next message: Alberto Bert: "net on laptop: intuitively, laptop-net, laptop-netconf, ..."

    Relevant Pages

    • Re: Troubles with exporting eps images
      ... I am using Matlab version 7.5.0.342, ... Once obtained the desired plot, ... window to make the eps file. ... Since I need to have good quality images, ...
      (comp.soft-sys.matlab)
    • Re: Troubles with exporting eps images
      ... I am using Matlab version 7.5.0.342, ... Once obtained the desired plot, ... window to make the eps file. ... the exported file results to be perfect. ...
      (comp.soft-sys.matlab)
    • [OT] $DISPLAY screwing up with EPS when matlab run in background?
      ... I am trying to run a matlab function I wrote in the background. ... problem arises in the eps file generated. ... %colorhistplot('Img.ppm') Plot color histogram of the specified image file ...
      (Debian-User)
    • Re: Troubles with exporting eps images
      ... I am using Matlab version 7.5.0.342, ... Once obtained the desired plot, ... window to make the eps file. ... Since I need to have good quality images, ...
      (comp.soft-sys.matlab)
    • Re: eps picture encoding under linux
      ... I'm running matlab under Linux (I've tried several matlab versions ... linux distributions as well). ... but when printing it in an eps file with File-Save as or with the ... This might come from an encoding problem, ...
      (comp.soft-sys.matlab)