Image-DS9

 view release on metacpan or  search on metacpan

utils/ref-man-8.5.html  view on Meta::CPAN

&nbsp;&nbsp;&nbsp; [line|bar [&lt;ref&gt;] &lt;title&gt; &lt;xaxis label&gt; &lt;yaxis label&gt; xy|xyex|xyey|xyexey]<br>
</p>
<p>
# create new plot from data file<br>
plot [line|bar &lt;filename&gt; [&lt;ref&gt;] xy|xyex|xyey|xyexey]<br>
&nbsp;&nbsp;&nbsp; [line|bar &lt;filename&gt; [&lt;ref&gt;] &lt;title&gt; &lt;xaxis label&gt; &lt;yaxis label&gt; xy|xyex|xyey|xyexey]<br>
</p>
<p>
# create new plot with data from stdin which includes title/dim headers<br>
plot [line|bar [&lt;ref&gt;] 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>
&nbsp;&nbsp;&nbsp; [load &lt;filename&gt; xy|xyex|xyey|xyexey]<br>
&nbsp;&nbsp;&nbsp; [save &lt;filename&gt;]<br>
&nbsp;&nbsp;&nbsp; [current &lt;ref&gt;]<br>
&nbsp;&nbsp;&nbsp; [layout grid|row|column|strip]<br>
&nbsp;&nbsp;&nbsp; [layout strip scale &lt;percent&gt;]<br>
&nbsp;&nbsp;&nbsp; [add graph line|bar]<br>
&nbsp;&nbsp;&nbsp; [current graph &lt;graph&gt;]<br>
&nbsp;&nbsp;&nbsp; [delete graph]<br>
&nbsp;&nbsp;&nbsp; [current dataset &lt;dataset&gt;]<br>
&nbsp;&nbsp;&nbsp; [delete dataset]<br>
&nbsp;&nbsp;&nbsp; [duplicate]<br>
&nbsp;&nbsp;&nbsp; [stats yes|no]<br>
&nbsp;&nbsp;&nbsp; [list yes|no]<br>
&nbsp;&nbsp;&nbsp; [backup &lt;filename&gt;]<br>
&nbsp;&nbsp;&nbsp; [restore &lt;filename&gt;]<br>
&nbsp;&nbsp;&nbsp; [pagesetup orient portrait|landscape]<br>
&nbsp;&nbsp;&nbsp; [pagesetup size letter|legal|tabloid|poster|a4]<br>
&nbsp;&nbsp;&nbsp; [print]<br>
&nbsp;&nbsp;&nbsp; [print destination printer|file]<br>
&nbsp;&nbsp;&nbsp; [print command &lt;command&gt;]<br>
&nbsp;&nbsp;&nbsp; [print filename &lt;filename&gt;]<br>
&nbsp;&nbsp;&nbsp; [print color rgb|gray]<br>
&nbsp;&nbsp;&nbsp; [close]<br>
&nbsp;&nbsp;&nbsp; [mode pointer|zoom]<br>
</p>
<p>
# export<br>
plot [export &lt;filename&gt;]<br>
&nbsp;&nbsp;&nbsp; [export eps|gif|tiff|jpeg|png &lt;filename&gt;]<br>
&nbsp;&nbsp;&nbsp; [export jpeg &lt;filename&gt; [int(1-100)]]<br>
&nbsp;&nbsp;&nbsp; [export tiff &lt;filename&gt; none|jpeg|packbits|deflate]]<br>
</p>
<p>
# configure graph<br>
plot [axis x|y grid yes|no]<br>
&nbsp;&nbsp;&nbsp; [axis x|y log yes|no]<br>
&nbsp;&nbsp;&nbsp; [axis x|y flip yes|no]<br>
&nbsp;&nbsp;&nbsp; [axis x|y auto yes|no]<br>
&nbsp;&nbsp;&nbsp; [axis x|y min &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [axis x|y max &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [axis x|y format &lt;string&gt;]<br>
&nbsp;&nbsp;&nbsp; [background &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [legend yes|no]<br>
&nbsp;&nbsp;&nbsp; [legend position right|left|top|bottom|plotarea]<br>
&nbsp;&nbsp;&nbsp; [font title|labels|numbers font times|helvetica|courier]<br>
&nbsp;&nbsp;&nbsp; [font title|labels|numbers size &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [font title|labels|numbers weight normal|bold]<br>
&nbsp;&nbsp;&nbsp; [font title|labels|numbers slant roman|italic]<br>
&nbsp;&nbsp;&nbsp; [title &lt;string&gt;]<br>
&nbsp;&nbsp;&nbsp; [title x|y &lt;string&gt;]<br>
</p>
<p>
# dataset<br>
plot [show yes|no]<br>
&nbsp;&nbsp;&nbsp; [name &lt;string&gt;]<br>
</p>
<p>
# line dataset<br>
plot [line smooth step|linear|cubic|quadratic|catrom]<br>
&nbsp;&nbsp;&nbsp; [line color &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [line width &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [line dash yes|no]<br>
&nbsp;&nbsp;&nbsp; [line fill yes|no]<br>
&nbsp;&nbsp;&nbsp; [line fill color &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [line shape symbol none|circle|square|diamond|plus|splus|scross|triangle|arrow]<br>
&nbsp;&nbsp;&nbsp; [line shape size &lt;integer&gt;]<br>
&nbsp;&nbsp;&nbsp; [line shape color &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [line shape fill yes|no]<br>
</p>
<p>
# bar dataset<br>
plot [bar border color &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [bar border width &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [bar fill yes|no]<br>
&nbsp;&nbsp;&nbsp; [bar color &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [bar width &lt;value&gt;]<br>
</p>
<p>
# error bar<br>
plot [error yes|no]<br>
&nbsp;&nbsp;&nbsp; [error color &lt;value&gt;]<br>
&nbsp;&nbsp;&nbsp; [error cap yes|no]<br>
&nbsp;&nbsp;&nbsp; [error width &lt;value&gt;]<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] [&lt;filename&gt;]<br>
&nbsp;<br>
Example:<br>



( run in 1.339 second using v1.01-cache-2.11-cpan-0bb4e1dffa6 )