14.10.2014 Views

gnuplot documentation

gnuplot documentation

gnuplot documentation

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

82 <strong>gnuplot</strong> 4.3 66 REPLOT<br />

62 Pwd<br />

The pwd command prints the name of the working directory to the screen.<br />

63 Quit<br />

The exit and quit commands and END-OF-FILE character will exit <strong>gnuplot</strong>. Each of these commands<br />

will clear the output device (as does the clear command) before exiting.<br />

64 Raise<br />

Syntax:<br />

raise {plot_window_nb}<br />

The raise command raises (opposite to lower) plot window(s) associated with the interactive terminal<br />

of your <strong>gnuplot</strong> session, i.e. pm, win, wxt or x11. It puts the plot window to front (top) in the z-order<br />

windows stack of the window manager of your desktop.<br />

As x11 and wxt support multiple plot windows, then by default they raise these windows in descending<br />

order of most recently created on top to the least recently created on bottom. If a plot number is<br />

supplied as an optional parameter, only the associated plot window will be raised if it exists.<br />

The optional parameter is ignored for single plot-windows terminal, i.e. pm and win.<br />

If the window is not raised under X11, then (1) they don’t run in the same<br />

X11 session (telnet or ssh session, for example), or (2) raising is blocked<br />

by your window manager. On KDE, you may like to go to the KDE Control Center<br />

=> Desktop => Window Behaviour => Advanced and set the "Focus stealing<br />

prevention level" to None (default is Low).<br />

65 Refresh<br />

The refresh command is similar to replot, with two major differences. refresh reformats and redraws<br />

the current plot using the data already read in. This means that you can use refresh for plots with<br />

in-line data (pseudo-device ’-’) and for plots from datafiles whose contents are volatile. You cannot use<br />

the refresh command to add new data to an existing plot.<br />

Mousing operations, in particular zoom and unzoom, will use refresh rather than replot if appropriate.<br />

Example:<br />

plot ’datafile’ volatile with lines, ’-’ with labels<br />

100 200 "Special point"<br />

e<br />

# Various mousing operations go here<br />

set title "Zoomed in view"<br />

set term post<br />

set output ’zoom.ps’<br />

refresh<br />

66 Replot<br />

The replot command without arguments repeats the last plot or splot command. This can be useful<br />

for viewing a plot with different set options, or when generating the same plot for several devices.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!