Image-DS9
view release on metacpan or search on metacpan
utils/ref-man-8.5.html view on Meta::CPAN
[line|bar [<ref>] <title> <xaxis label> <yaxis label> xy|xyex|xyey|xyexey]<br>
</p>
<p>
# create new plot from data file<br>
plot [line|bar <filename> [<ref>] xy|xyex|xyey|xyexey]<br>
[line|bar <filename> [<ref>] <title> <xaxis label> <yaxis label> xy|xyex|xyey|xyexey]<br>
</p>
<p>
# create new plot with data from stdin which includes title/dim headers<br>
plot [line|bar [<ref>] stdin]<br>
</p>
<p>
# load data into existing plot from stdin<br>
plot [data xy|xyex|xyey|xyexey]<br>
</p>
<p>
# existing plot<br>
plot [gui]<br>
[load <filename> xy|xyex|xyey|xyexey]<br>
[save <filename>]<br>
[current <ref>]<br>
[layout grid|row|column|strip]<br>
[layout strip scale <percent>]<br>
[add graph line|bar]<br>
[current graph <graph>]<br>
[delete graph]<br>
[current dataset <dataset>]<br>
[delete dataset]<br>
[duplicate]<br>
[stats yes|no]<br>
[list yes|no]<br>
[backup <filename>]<br>
[restore <filename>]<br>
[pagesetup orient portrait|landscape]<br>
[pagesetup size letter|legal|tabloid|poster|a4]<br>
[print]<br>
[print destination printer|file]<br>
[print command <command>]<br>
[print filename <filename>]<br>
[print color rgb|gray]<br>
[close]<br>
[mode pointer|zoom]<br>
</p>
<p>
# export<br>
plot [export <filename>]<br>
[export eps|gif|tiff|jpeg|png <filename>]<br>
[export jpeg <filename> [int(1-100)]]<br>
[export tiff <filename> none|jpeg|packbits|deflate]]<br>
</p>
<p>
# configure graph<br>
plot [axis x|y grid yes|no]<br>
[axis x|y log yes|no]<br>
[axis x|y flip yes|no]<br>
[axis x|y auto yes|no]<br>
[axis x|y min <value>]<br>
[axis x|y max <value>]<br>
[axis x|y format <string>]<br>
[background <value>]<br>
[legend yes|no]<br>
[legend position right|left|top|bottom|plotarea]<br>
[font title|labels|numbers font times|helvetica|courier]<br>
[font title|labels|numbers size <value>]<br>
[font title|labels|numbers weight normal|bold]<br>
[font title|labels|numbers slant roman|italic]<br>
[title <string>]<br>
[title x|y <string>]<br>
</p>
<p>
# dataset<br>
plot [show yes|no]<br>
[name <string>]<br>
</p>
<p>
# line dataset<br>
plot [line smooth step|linear|cubic|quadratic|catrom]<br>
[line color <value>]<br>
[line width <value>]<br>
[line dash yes|no]<br>
[line fill yes|no]<br>
[line fill color <value>]<br>
[line shape symbol none|circle|square|diamond|plus|splus|scross|triangle|arrow]<br>
[line shape size <integer>]<br>
[line shape color <value>]<br>
[line shape fill yes|no]<br>
</p>
<p>
# bar dataset<br>
plot [bar border color <value>]<br>
[bar border width <value>]<br>
[bar fill yes|no]<br>
[bar color <value>]<br>
[bar width <value>]<br>
</p>
<p>
# error bar<br>
plot [error yes|no]<br>
[error color <value>]<br>
[error cap yes|no]<br>
[error width <value>]<br>
</p>
<p>
Example:<br>
# return all plotnames<br>
$xpaget ds9 plot<br>
</p>
<p>
# create new empty plot window<br>
$xpaset -p ds9 plot line<br>
$xpaset -p ds9 plot bar<br>
</p>
<p>
# create new plot from data file<br>
$xpaset -p ds9 plot line xy.dat xy<br>
$xpaset -p ds9 plot line xy.dat {The Title} {X Axis} {Y Axis} xy <br>
$cat xy.dat | xpaset ds9 plot line {The Title} {X Axis} {Y Axis} xy<br>
</p>
<p>
# create new plot with data from stdin which includes title/dim headers<br>
$cat stdin.2.dat | xpaset ds9 plot stdin<br>
</p>
<p>
#load data into existing plot from stdin<br>
$cat xy.dat | xpaset ds9 plot data xy<br>
</p>
<p>
# existing plot<br>
$xpaget ds9 plot layout<br>
$xpaget ds9 plot layout strip scale<br>
$xpaget ds9 plot current<br>
$xpaget ds9 plot current graph<br>
$xpaget ds9 plot current dataset<br>
$xpaget ds9 plot stats<br>
$xpaget ds9 plot list<br>
$xpaget ds9 plot mode<br>
$xpaset ds9 plot gui<br>
$xpaset -p ds9 plot load xy.dat xy<br>
$xpaset -p ds9 plot save foo.dat<br>
$xpaset -p ds9 plot current foo<br>
$xpaset -p ds9 plot layout strip<br>
$xpaset -p ds9 plot layout strip scale 30<br>
$xpaset -p ds9 plot add graph bar<br>
$xpaset -p ds9 plot current graph 1<br>
$xpaset -p ds9 plot delete graph<br>
$xpaset -p ds9 plot current dataset 1<br>
$xpaset -p ds9 plot delete dataset<br>
$xpaset -p ds9 plot duplicate<br>
$xpaset -p ds9 plot stats yes<br>
$xpaset -p ds9 plot list yes<br>
$xpaset -p ds9 plot backup foo.bck<br>
$xpaset -p ds9 plot restore foo.bck<br>
$xpaset -p ds9 plot pagesetup orient portrait<br>
$xpaset -p ds9 plot pagesetup size letter<br>
$xpaset -p ds9 plot print<br>
$xpaset -p ds9 plot print destination file<br>
$xpaset -p ds9 plot print command lp<br>
$xpaset -p ds9 plot print filename foo.ps<br>
$xpaset -p ds9 plot print color rgb<br>
$xpaset -p ds9 plot close<br>
$xpaset -p ds9 plot mode pointer<br>
</p>
<p>
# export plot<br>
$xpaset -p ds9 plot export tiff foo.tiff jpeg<br>
$xpaset -p ds9 plot export jpeg foo.jpeg 75<br>
$xpaset -p ds9 plot export png foo.png<br>
</p>
<p>
# configure graph<br>
$xpaget ds9 plot axis x grid<br>
$xpaget ds9 plot axis x log<br>
$xpaget ds9 plot axis x flip<br>
$xpaget ds9 plot axis x auto<br>
$xpaget ds9 plot axis x min<br>
$xpaget ds9 plot axis x max<br>
$xpaget ds9 plot axis x format<br>
$xpaget ds9 plot background<br>
$xpaget ds9 plot legend<br>
$xpaget ds9 plot legend position<br>
$xpaget ds9 plot font numbers font<br>
$xpaget ds9 plot font numbers size<br>
$xpaget ds9 plot font numbers weight<br>
$xpaget ds9 plot font numbers slant<br>
$xpaget ds9 plot title<br>
$xpaget ds9 plot title xaxis<br>
$xpaget ds9 plot title yaxis<br>
$xpaset -p ds9 plot axis x grid yes<br>
$xpaset -p ds9 plot axis x log yes<br>
$xpaset -p ds9 plot axis x flip yes<br>
$xpaset -p ds9 plot axis x auto no<br>
$xpaset -p ds9 plot axis x min 1<br>
$xpaset -p ds9 plot axis x max 100<br>
$xpaset -p ds9 plot axis x format {%f}<br>
$xpaset -p ds9 plot background white<br>
$xpaset -p ds9 plot legend yes<br>
$xpaset -p ds9 plot legend position left<br>
$xpaset -p ds9 plot font numbers font times<br>
$xpaset -p ds9 plot font numbers size 12<br>
$xpaset -p ds9 plot font numbers weight bold<br>
$xpaset -p ds9 plot font numbers slant italic<br>
$xpaset -p ds9 plot title {This is a Title}<br>
$xpaset -p ds9 plot title x {X Axis}<br>
$xpaset -p ds9 plot title y {Y Axis}<br>
$xpaset -p ds9 plot title legend {This is the Legend}<br>
</p>
<p>
# configure current dataset<br>
$xpaget ds9 plot show<br>
$xpaget ds9 plot name<br>
$xpaset -p ds9 plot show yes<br>
$xpaset -p ds9 plot name {My Data}<br>
</p>
<p>
# line dataset<br>
$xpaget ds9 plot line smooth<br>
$xpaget ds9 plot line color<br>
$xpaget ds9 plot line width<br>
$xpaget ds9 plot line dash<br>
$xpaget ds9 plot line fill<br>
$xpaget ds9 plot line fill color<br>
$xpaget ds9 plot line shape symbol<br>
$xpaget ds9 plot line shape size<br>
$xpaget ds9 plot line shape color<br>
$xpaget ds9 plot line shape fill<br>
$xpaset -p ds9 plot line smooth step<br>
$xpaset -p ds9 plot line color red<br>
$xpaset -p ds9 plot line width 2<br>
$xpaset -p ds9 plot line dash yes<br>
$xpaset -p ds9 plot line fill no<br>
$xpaset -p ds9 plot line fill color red<br>
$xpaset -p ds9 plot line shape symbol circle<br>
$xpaset -p ds9 plot line shape size 5<br>
$xpaset -p ds9 plot line shape color cyan<br>
$xpaset -p ds9 plot line shape fill no<br>
</p>
<p>
# bar dataset<br>
$xpaget ds9 plot bar border color<br>
$xpaget ds9 plot bar border width<br>
$xpaget ds9 plot bar fill<br>
$xpaget ds9 plot bar color<br>
$xpaget ds9 plot bar width<br>
$xpaset -p ds9 plot bar border color red<br>
$xpaset -p ds9 plot bar border width 2<br>
$xpaset -p ds9 plot bar fill no<br>
$xpaset -p ds9 plot bar color red<br>
$xpaset -p ds9 plot bar width 10<br>
</p>
<p>
$xpaget ds9 plot error<br>
$xpaget ds9 plot error color<br>
$xpaget ds9 plot error cap<br>
$xpaget ds9 plot error width<br>
$xpaset -p ds9 plot error yes<br>
$xpaset -p ds9 plot error color red<br>
$xpaset -p ds9 plot error cap yes<br>
$xpaset -p ds9 plot error width 2<br>
</p>
<br></tt> <b><a name="png" id="png"></a>png</b>
<p>Load PNG image into current frame.<br></p>
<tt>Syntax:<br>
png [new|slice] [<filename>]<br>
<br>
Example:<br>
( run in 1.339 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )