splot: save in a file
ebru wrote on Aug 25, 2006
after drowing a graph in splot i can not save this plot in a file,
how can i do this.
how can i do this.
Mike Fitzpatrick wrote on Aug 25, 2006
Depends on what format you want to save the plot in: You can save the raw metacode for graphics using the ":.write <fname>" command, later tasks like GKIMOSAIC can be used to render multiple plots on a screen you can print together at a later time. If what you want is to save say an EPS of the plot then use the 'eps' device, e.g.
Both :.write and :.snap should be followed by a :.gflush to fish the graphics buffer. The snap to EPS will produce a file called 'sgiXXXXX.eps' in the current working directory (where XXXX is some process number).
-Mike
:.snap epsBoth :.write and :.snap should be followed by a :.gflush to fish the graphics buffer. The snap to EPS will produce a file called 'sgiXXXXX.eps' in the current working directory (where XXXX is some process number).
-Mike
ebru wrote on Aug 25, 2006
yesss
that is just what we want
I tired and succeded
thank you very much
that is just what we want
I tired and succeded
thank you very much
MartinS wrote on Aug 25, 2006
I have a problem with the command ":.snap eps". It actually does create an eps-file, but its size is 0 Byte. Do i have to install a special device before it works? or do i have to reset the printer to any other device?
Mike Fitzpatrick wrote on Aug 25, 2006
A zero-sized file usually means that either you didn't do the gflush yet (i.e. a ":.gflush" in cursor mode or a "gflush" on the CL command-line), or more likely that the PATH defined in your .cshrc/.bashrc file doesn't include the directory where the iraf commands were installed (usually /usr/local/bin).
Hardcopy plots are done by calling the 'sgidispatch' command from the graphcap file in a spawned shell. This command is installed along with things like 'cl' and 'mkiraf' when you run the install script, however the spawned shell used to run the command isn't a full "login shell". So, if you added e.g. /usr/local/bin to the $path in your .login file it wouldn't have any effect, you need to also add this directory to the path defined by your shell startup files (typically the .cshrc and .bashrc/.profile files depending on whether you use C-shell or Bash). See also http://iraf.net/phpBB2/viewtopic.php?t=86968 for more information.
-Mike
Hardcopy plots are done by calling the 'sgidispatch' command from the graphcap file in a spawned shell. This command is installed along with things like 'cl' and 'mkiraf' when you run the install script, however the spawned shell used to run the command isn't a full "login shell". So, if you added e.g. /usr/local/bin to the $path in your .login file it wouldn't have any effect, you need to also add this directory to the path defined by your shell startup files (typically the .cshrc and .bashrc/.profile files depending on whether you use C-shell or Bash). See also http://iraf.net/phpBB2/viewtopic.php?t=86968 for more information.
-Mike
MartinS wrote on Aug 25, 2006
Hi.
Thanks a lot for this informations. i also found your answer in this topic http://iraf.net/phpBB2/viewtopic.php?t=86909 and the hint with copying the data of the bin.linux-folder into the bin.redhat-folder perfectly worked.
Thanks a lot for this informations. i also found your answer in this topic http://iraf.net/phpBB2/viewtopic.php?t=86909 and the hint with copying the data of the bin.linux-folder into the bin.redhat-folder perfectly worked.
Last post on Aug 25, 2006