Thread View: comp.graphics.apps.gnuplot
2 messages
2 total messages
Started by u600256@rho.LANL
Wed, 14 Aug 1996 00:00
Re: Why do I get no display?
Author: u600256@rho.LANL
Date: Wed, 14 Aug 1996 00:00
Date: Wed, 14 Aug 1996 00:00
31 lines
876 bytes
876 bytes
In message-Id: <4utl4h$13d6@pulp.ucs.ualberta.ca> kulshres@angelo.ucs.ualberta.ca (Amar Kulshrestha) writes: I am plotting 3d data from a file and am using the following commands: set parametric splot 'datafile' with lines If I do this interavctivley within gnuplot everything seems to work fine and I get the plot. However, if I put those 2 commands into a file and run gnuplot from the command line nothing shows up on my screen for a graph. Does anyone know what is causing this or what may be missing from my command file? What is happening is that your window is being closed before your program has a chance to draw anything in it. The fix is to put "pause -1" after each "plot", "splot", or "replot" command in your input file. This will cause the program to wait for keyboard input before continuing... Dick Crawford, aka rccrawford@lanl.gov
Re: Why do I get no display?
Author: ddenholm@hawk.is
Date: Thu, 15 Aug 1996 00:00
Date: Thu, 15 Aug 1996 00:00
40 lines
1262 bytes
1262 bytes
crawford richard (u600256@rho.LANL.GOV) wrote: > In message-Id: <4utl4h$13d6@pulp.ucs.ualberta.ca> > kulshres@angelo.ucs.ualberta.ca (Amar Kulshrestha) writes: > I am plotting 3d data from a file and am using the following > commands: > set parametric > splot 'datafile' with lines > If I do this interavctivley within gnuplot everything seems to > work fine and I get the plot. However, if I put those 2 > commands into a file and run gnuplot from the command line > nothing shows up on my screen for a graph. Does anyone know > what is causing this or what may be missing from my command > file? > What is happening is that your window is being closed before your > program has a chance to draw anything in it. > The fix is to put "pause -1" after each "plot", "splot", or "replot" > command in your input file. This will cause the program to wait for > keyboard input before continuing... The X11 driver for version 3.6 supports a -persist option... gnuplot -persist file.gnu where gnuplot will exit correctly when it reaches the end of file.gnu, but it will not close the window (which is managed by a child process which remains running). dd -- david.denholm@isltd.insignia.com Tel (01494) 453376 (work) (01494) 459742 (home)
Thread Navigation
This is a paginated view of messages in the thread with full content displayed inline.
Messages are displayed in chronological order, with the original post highlighted in green.
Use pagination controls to navigate through all messages in large threads.
Back to All Threads