[CSC 335] Graphics files in Gnuplot
Andrew J. Pounds
pounds_aj at mercer.edu
Tue Oct 29 03:31:05 EDT 2013
Yep. As a check I just dumped my file to my postscript printer at the
house and it worked perfectly.
On 10/29/13 03:02, Tapas Misra wrote:
> We can just type "lpr -Plab200 filename.ps" from the bash terminal
> prompt for postscript saved files?
>
> - Tapas
>
>
>
>
> On Oct 29, 2013, at 2:57 AM, "Andrew J. Pounds" <pounds_aj at mercer.edu
> <mailto:pounds_aj at mercer.edu>> wrote:
>
>> Some of you wanted to know how to make gnuplot output files for
>> incorporation into your documents or for printing. I am including
>> the contents of a file I used to create some nmr style plots. In
>> this file I create the plot on the screen, create a PNG graphics file
>> (bitmapped graphics), a SVG file (should be vector graphics) and a
>> postscript file. I then return the system to its initial starting
>> state. Now, I placed all the commands in a file called
>> "plotcommands" and when I got into gnuplot plot I issued the command...
>>
>> call "plotcommands"
>>
>> and it executes all of them serially.
>>
>>
>> plot [-5:.25] "filtered.dat" with lines title "Filtered"
>> replot "baseline2" with lines title "Baseline"
>> show term
>> show output
>> set term png
>> set output "plot.png"
>> replot
>> set term svg
>> set output "plot.svg"
>> replot
>> set term postscript enhanced color landscape
>> set output "plot.ps"
>> replot
>> set term x11
>> set output STDOUT
>>
>>
>> Both the .png and .svg files should be great for importing into
>> documents (the .svg file should technically be better since it is
>> supposedly a vector format) and the postscript file should be ready
>> to be sent to a printer.
>>
>>
>> --
>> Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
>> Professor of Chemistry and Computer Science
>> Mercer University, Macon, GA 31207 (478) 301-5627
>> http://faculty.mercer.edu/pounds_aj
>> _______________________________________________
>> csc335 mailing list
>> csc335 at theochem.mercer.edu <mailto:csc335 at theochem.mercer.edu>
>> http://theochem.mercer.edu/mailman/listinfo/csc335
--
Andrew J. Pounds, Ph.D. (pounds_aj at mercer.edu)
Professor of Chemistry and Computer Science
Mercer University, Macon, GA 31207 (478) 301-5627
http://faculty.mercer.edu/pounds_aj
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://theochem.mercer.edu/pipermail/csc335/attachments/20131029/ac64d93c/attachment.html>
More information about the csc335
mailing list