forked from UsAndRufus/ThirdYearProject
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added small script to save plots to PostScript files
- Loading branch information
Edward R. Bennigsen
committed
Feb 24, 2017
1 parent
6276169
commit 76aa9bf
Showing
2 changed files
with
40 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -53,3 +53,7 @@ hs_err_pid* | |
|
||
# Project files | ||
*.data | ||
|
||
# Output files | ||
*.png | ||
*.ps |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,36 @@ | ||
# Based on http://people.duke.edu/~hpgavin/gnuplot.html | ||
# File name: save.plt - save a Gnuplot plot as a PostScript/PNG file | ||
# to use: | ||
# gnuplot> load 'save.plt' | ||
# gnuplot> !mv my-plot.ps another-file.ps | ||
set size 1.0, 0.6 | ||
set terminal postscript portrait enhanced mono dashed lw 1 "Helvetica" 14 | ||
#set terminal png large | ||
set output "my-plot.png" | ||
replot | ||
set terminal x11 | ||
set size 1,1 | ||
|
||
# set terminal postscript {<mode>} {enhanced | noenhanced} | ||
# {color | colour | monochrome} | ||
# {blacktext | colortext | colourtext} | ||
# {solid | dashed} {dashlength | dl <DL>} | ||
# {linewidth | lw <LW>} | ||
# {<duplexing>} | ||
# {"<fontname>"} {<fontsize>} | ||
|
||
|
||
# set terminal gif {transparent} {interlace} | ||
# {tiny | small | medium | large | giant} | ||
# {size <x>,<y>} | ||
# {<color0> <color1> <color2> ...} | ||
|
||
# set terminal png | ||
# {{no}transparent} {{no}interlace} | ||
# {tiny | small | medium | large | giant} | ||
# {font <face> {<pointsize>}} | ||
# {size <x>,<y>} {{no}crop} | ||
# {{no}enhanced} | ||
# {<color0> <color1> <color2> ...} | ||
|
||
|