diff options
Diffstat (limited to 'ds9/doc/ref/samp.html')
-rw-r--r-- | ds9/doc/ref/samp.html | 172 |
1 files changed, 97 insertions, 75 deletions
diff --git a/ds9/doc/ref/samp.html b/ds9/doc/ref/samp.html index 8059cca..61c4ea9 100644 --- a/ds9/doc/ref/samp.html +++ b/ds9/doc/ref/samp.html @@ -2736,37 +2736,23 @@ </blockquote> <p>To create a new plot, use the plot new command.</p> <tt> Syntax: <br> - # create new empty plot window</tt><br> - <tt><tt>plot []<br> - [line|bar|scatter]<br> - </tt><tt><tt><tt><tt> [new]<br> - </tt></tt> [new line|bar|scatter]<br> - </tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt> - - </tt></tt></tt></tt></tt>[new - <title> <xaxis label> <yaxis - label> </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br> - </tt><tt>[new - line|bar|scatter <title> <xaxis - label> <yaxis label> </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br> - </tt></tt></tt> [new - name <plotname>]<br> - </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt> - [new name <plotname> line|bar|scatter]</tt></tt></tt></tt></tt></tt></tt></tt><br> - </tt><tt><tt><tt><tt><tt><tt><tt><tt> </tt></tt></tt></tt></tt>[new - </tt><tt><tt><tt><tt><tt>name <plotname> </tt></tt></tt></tt><title> - <xaxis label> <yaxis label> </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br> - </tt><tt>[new </tt><tt><tt><tt><tt><tt>name - <plotname> </tt></tt></tt></tt>line|bar|scatter - <title> <xaxis label> <yaxis label> </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br> - </tt><tt><br> - </tt></tt></tt> # </tt><tt><tt><tt>load data into existing - plot</tt></tt> <br> - plot [[<plotname>] data xy|xyex|xyey|xyexey]<br> - </tt><tt><tt><br> - </tt></tt><tt><tt><tt># existing plot<br> - </tt></tt></tt><tt>plot </tt><tt><tt>[[<plotname>] load - <filename> xy|xyex|xyey|xyexey]<br> + </tt><tt># create new empty plot window<br> + plot []<br> + [line|bar|scatter]<br> + </tt><tt><tt><tt><tt> [new]<br> + </tt></tt> [new line|bar|scatter]<br> + </tt></tt><tt><tt><tt><tt><tt><tt> [new + name <plotname>]<br> + </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt> + [new name <plotname> line|bar|scatter]</tt></tt></tt></tt></tt></tt></tt></tt><br> + </tt><tt><br> + </tt><tt><tt># </tt><tt><tt><tt>load data into existing plot from + stdin</tt></tt> <br> + plot [[<plotname>] data xy|xyex|xyey|xyexey]<br> + </tt><tt><tt><br> + </tt></tt># existing plot<br> + plot </tt><tt><tt>[[<plotname>] load <filename> + xy|xyex|xyey|xyexey]<br> [[<plotname>] save <filename>]<br> </tt> [[<plotname>] clear]<br> @@ -3208,9 +3194,9 @@ </tt>[[<plotname>] mode pointer|zoom]<br> </tt></tt></tt></tt></tt></tt><tt><br> - </tt><tt># configure graph<br> - </tt><tt>plot [[<plotname>] axis x|y grid yes|no]<br> - [[[<plotname>] axis x|y log + # configure graph<br> + plot [[<plotname>] axis x|y grid yes|no]<br> + [[<plotname>] axis x|y log yes|no]<br> </tt><tt> [[<plotname>] axis x|y flip yes|no]</tt><br> @@ -3370,8 +3356,8 @@ barmode normal|stacked|aligned|overlap]<br> - </tt></tt></tt></tt><tt><tt><tt><br> - </tt></tt></tt><tt><tt><tt># configure current dataset<br> + <br> + </tt> # configure current dataset<br> </tt>plot [[<plotname>] show yes|no]<br> </tt> </tt><tt><tt><tt><tt>[[<plotname>] @@ -4795,22 +4781,15 @@ plot<br> <br> # create new empty plot window<br> - ds9.set(string cmd)<br> - plot<br> - plot scatter<br> - plot new<br> - plot new bar<br> - plot new name foo<br> - plot new name foo scatter<br> - <br> - # create new plot with data<br> - ds9.set(string cmd, string url)<br> - plot new stdin <br> - plot new name foo stdin<br> - plot new "{The Title}" "{X}" "{Y}" xy<br> - plot new name foo "{The Title}" "{X}" "{Y}" xy<br> - <br> - # load additional dataset into an existing plot<br> + ds9.set(string cmd)</tt><br> + <tt><tt>plot<br> + plot bar<br> + plot new<br> + plot new bar<br> + plot new name foo<br> + plot new name foo bar<br> + <br> + </tt># load additional dataset into an existing plot<br> ds9.set(string cmd, string url)<br> plot data xy # plot additional data<br> plot foo data xy # plot additional data<br> @@ -4883,24 +4862,22 @@ stats<br> plot list<br> </tt></tt></tt>ds9.set(string cmd)<br> - </tt></tt></tt></tt>plot load foo.dat xy # load new - dataset with dimension xy<br> - plot save bar.dat # save current dataset<br> - </tt></tt><tt><tt>plot clear # clear all datasets<br> - plot duplicate # duplicate current dataset<br> + </tt></tt></tt></tt>plot load foo.dat xy<br> + plot save foo.dat<br> + </tt></tt><tt><tt>plot clear<br> + plot duplicate 1<br> plot stats yes<br> plot list yes<br> - </tt></tt><tt><tt>plot loadconfig foo.plt # load plot - configuration <br> - plot saveconfig bar.plt # save current plot configuration<br> + </tt></tt><tt><tt>plot loadconfig foo.plt<br> + plot saveconfig foo.plt<br> </tt></tt><tt><tt>plot pagesetup orient portrait<br> plot pagesetup size letter<br> </tt></tt><tt><tt>plot print<br> plot print destination file<br> - plot print command "lp"<br> - plot print filename "foo.ps"<br> + plot print command lp<br> + plot print filename foo.ps<br> plot print color rgb<br> - </tt>plot close # close current plot<br> + </tt>plot close<br> </tt></tt><tt><tt><tt><tt><br> string value = ds9.get(string cmd)<br> </tt>plot mode<br> @@ -5597,17 +5574,62 @@ </tt></tt><tt><tt><tt><tt>plot axis x auto no<br> plot axis x min 0<br> plot axis x max 100<br> - </tt></tt><tt><tt><tt><tt>plot axis x format {%f}<br> - </tt></tt></tt></tt>plot legend yes # show legend<br> - </tt><tt>plot legend position left</tt><tt><tt><tt><tt><br> - </tt></tt>plot font numbers font times<br> - plot font numbers size 12<br> - plot font numbers weight bold<br> - plot font numbers slant italic<br> - </tt></tt></tt><tt><tt>plot title {The Title}<br> - plot title x {X Axis}<br> - plot barmode aligned<br> - <br> + </tt></tt><tt><tt><tt><tt>plot axis x format "%f"<br> + </tt></tt></tt></tt></tt></tt><br> + <tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>string value = + ds9.get(string cmd)<br> + </tt></tt></tt></tt></tt></tt>plot legend<br> + </tt></tt></tt></tt><tt><tt><tt><tt><tt>plot legend + position<br> + </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt>ds9.set(string + cmd)<br> + </tt></tt></tt>plot legend yes<br> + </tt><tt>plot legend position left</tt><tt><tt><tt><tt><br> + <br> + </tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>string + value = ds9.get(string cmd)<br> + </tt></tt></tt></tt></tt></tt>plot font + numbers font<br> + </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt>plot + font numbers size<br> + </tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt>plot + font numbers weight<br> + </tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>plot + font numbers slant<br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt>ds9.set(string + cmd)<br> + </tt></tt></tt>plot font numbers font times<br> + plot font numbers size 12<br> + plot font numbers weight bold<br> + plot font numbers slant italic<br> + </tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>string + value = ds9.get(string + cmd)<br> + </tt></tt></tt></tt></tt></tt>plot + title<br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>plot + title xaxis</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>plot + title yaxis</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt>ds9.set(string + cmd)<br> + </tt></tt></tt>plot title "This is a Title"<br> + plot title x "X Axis"<br> + plot title y "Y Axis"<br> + plot title legend "This is the Legend"<br> + </tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>string + value = + ds9.get(string + cmd)<br> + </tt></tt></tt></tt></tt></tt>plot + barmode<br> + </tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt> + </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt>ds9.set(string + cmd)<br> + </tt></tt></tt>plot barmode aligned<br> + </tt><tt><tt><br> # configure current dataset<br> </tt></tt><tt><tt><tt><tt><tt><tt>string value = ds9.get(string cmd)<br> @@ -6044,7 +6066,7 @@ plot error yes<br> plot error color red</tt><br> <tt>plot error width 2</tt><br> - <tt>plot name {My Data}</tt><br> + <tt>plot name "My Data"</tt><br> <tt><br> # select current dataset<br> </tt></tt><tt><tt><tt><tt><tt><tt>string value = ds9.get(string |