summaryrefslogtreecommitdiffstats
path: root/ds9/doc/ref/samp.html
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2018-05-24 21:21:28 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2018-05-24 21:21:28 (GMT)
commit6900398f777fbbe5d83b1c7082b9e67d857d953b (patch)
tree99d7f0d70e3fde9b772dc3f79130bdb8e1069feb /ds9/doc/ref/samp.html
parent00bc1d84f47ea172cf1e6c6065445e7b9c794439 (diff)
downloadblt-6900398f777fbbe5d83b1c7082b9e67d857d953b.zip
blt-6900398f777fbbe5d83b1c7082b9e67d857d953b.tar.gz
blt-6900398f777fbbe5d83b1c7082b9e67d857d953b.tar.bz2
update ds9 parsers
Diffstat (limited to 'ds9/doc/ref/samp.html')
-rw-r--r--ds9/doc/ref/samp.html172
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>
- &nbsp;&nbsp;&nbsp;&nbsp; [line|bar|scatter]<br>
- </tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp; [new]<br>
- </tt></tt>&nbsp;&nbsp;&nbsp;&nbsp; [new line|bar|scatter]<br>
- </tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
-
- </tt></tt></tt></tt></tt>[new
- &lt;title&gt; &lt;xaxis label&gt; &lt;yaxis
- label&gt; </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br>
- &nbsp;&nbsp;&nbsp;&nbsp; </tt><tt>[new
- line|bar|scatter &lt;title&gt; &lt;xaxis
- label&gt; &lt;yaxis label&gt; </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br>
- </tt></tt></tt>&nbsp;&nbsp;&nbsp;&nbsp; [new
- name &lt;plotname&gt;]<br>
- </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
- [new name &lt;plotname&gt; line|bar|scatter]</tt></tt></tt></tt></tt></tt></tt></tt><br>
- </tt><tt><tt><tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp; </tt></tt></tt></tt></tt>[new
- </tt><tt><tt><tt><tt><tt>name &lt;plotname&gt; </tt></tt></tt></tt>&lt;title&gt;
- &lt;xaxis label&gt; &lt;yaxis label&gt; </tt><tt>xy|xyex|xyey|xyexey</tt><tt>]<br>
- &nbsp;&nbsp;&nbsp;&nbsp; </tt><tt>[new </tt><tt><tt><tt><tt><tt>name
- &lt;plotname&gt; </tt></tt></tt></tt>line|bar|scatter
- &lt;title&gt; &lt;xaxis label&gt; &lt;yaxis label&gt; </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 [[&lt;plotname&gt;] 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>[[&lt;plotname&gt;] load
- &lt;filename&gt; xy|xyex|xyey|xyexey]<br>
+ </tt><tt># create new empty plot window<br>
+ plot []<br>
+ &nbsp;&nbsp;&nbsp;&nbsp; [line|bar|scatter]<br>
+ </tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp; [new]<br>
+ </tt></tt>&nbsp;&nbsp;&nbsp;&nbsp; [new line|bar|scatter]<br>
+ </tt></tt><tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp; [new
+ name &lt;plotname&gt;]<br>
+ </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
+ [new name &lt;plotname&gt; 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 [[&lt;plotname&gt;] data xy|xyex|xyey|xyexey]<br>
+ </tt><tt><tt><br>
+ </tt></tt># existing plot<br>
+ plot </tt><tt><tt>[[&lt;plotname&gt;] load &lt;filename&gt;
+ xy|xyex|xyey|xyexey]<br>
&nbsp;&nbsp;&nbsp;&nbsp; [[&lt;plotname&gt;] save
&lt;filename&gt;]<br>
</tt>&nbsp;&nbsp;&nbsp;&nbsp; [[&lt;plotname&gt;] clear]<br>
@@ -3208,9 +3194,9 @@
&nbsp;&nbsp;&nbsp;&nbsp; </tt>[[&lt;plotname&gt;]
mode pointer|zoom]<br>
</tt></tt></tt></tt></tt></tt><tt><br>
- </tt><tt># configure graph<br>
- </tt><tt>plot [[&lt;plotname&gt;] axis x|y grid yes|no]<br>
- &nbsp;&nbsp;&nbsp;&nbsp; [[[&lt;plotname&gt;] axis x|y log
+ # configure graph<br>
+ plot [[&lt;plotname&gt;] axis x|y grid yes|no]<br>
+ &nbsp;&nbsp;&nbsp;&nbsp; [[&lt;plotname&gt;] axis x|y log
yes|no]<br>
</tt><tt>&nbsp;&nbsp;&nbsp;&nbsp; [[&lt;plotname&gt;] 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 [[&lt;plotname&gt;] show yes|no]<br>
</tt>&nbsp; &nbsp;&nbsp; </tt><tt><tt><tt><tt>[[&lt;plotname&gt;]
@@ -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