Hi,

Well, I don't consider this a bug. Is more like a enhancement.
Anyhow, you can edit your doPlot script to your desire and pass
the $DISPLAY along for the ride :)

Cheers,
Adrian Pop/

Philip Machanick wrote:
That reminds me of another bug I ran into on Linux: if you use X
windows to display on a different machine than the program is running
on, the Java windows pop up on the wrong machine (the one the code is
running on, rather than where the DISPLAY variable is pointing). I
worked around this by using VNC instead of X. It would obviously be
better if the DISPLAY variable was passed through.

On Sun, Jun 1, 2008 at 9:03 AM, Adrian Pop <[EMAIL PROTECTED]> wrote:
Hi Dieter,

When you run simulate(Model) an executable
Model[.exe] is built and launched. The execution
generates a file called Model_res.plt.
Then OMC call the script (with the simulation
result as a parameter):
${OPENMODELICAHOME}/bin/doPlot Model_res.plt
to do the actual plotting.

The doPlot script runs java to run a class from
ptplot.jar to display the results.

Have a look at your doPlot script. You could try
to run it directly:
${OPENMODELICAHOME}/bin/doPlot Model_res.plt
as it might give you more info on errors.

You need to have SUN Java version > 1.4.x installed
to be able to do the plotting.

Cheers,
Adrian Pop/


dieter wrote:
Hi,

when I try to plot some results from the OMShell there seems to flash
some window into an existence and the word "true" appears in OMShell,
nothing else.  Could anybody please give me a guideline how to check
my system for the fitness of this java plotting (I'm using
Debian/sid).

  Dieter

--
   Best wishes

   H. Dieter Wilhelm
   Darmstadt, Germany




Reply via email to