summaryrefslogtreecommitdiffstats
path: root/ds9/doc/ref/samp.html
diff options
context:
space:
mode:
authorWilliam Joye <wjoye@cfa.harvard.edu>2019-03-06 21:56:50 (GMT)
committerWilliam Joye <wjoye@cfa.harvard.edu>2019-03-06 21:56:50 (GMT)
commit642ee5e90cff7d1ddee27eac4668fb31863e93e7 (patch)
treeb2703442adbc2fadc0eb2d29b2a206bdb93124e7 /ds9/doc/ref/samp.html
parent6a55433ce6d2c1ab8ead1374dca25dd8430dd977 (diff)
downloadblt-642ee5e90cff7d1ddee27eac4668fb31863e93e7.zip
blt-642ee5e90cff7d1ddee27eac4668fb31863e93e7.tar.gz
blt-642ee5e90cff7d1ddee27eac4668fb31863e93e7.tar.bz2
PLOT: add plot export to gif,png,tiff,jpeg.
Diffstat (limited to 'ds9/doc/ref/samp.html')
-rw-r--r--ds9/doc/ref/samp.html90
1 files changed, 87 insertions, 3 deletions
diff --git a/ds9/doc/ref/samp.html b/ds9/doc/ref/samp.html
index 1c01b7a..0587299 100644
--- a/ds9/doc/ref/samp.html
+++ b/ds9/doc/ref/samp.html
@@ -471,6 +471,7 @@
+
[2mass|iras]</tt><tt><br>
</tt><tt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[csc|xmm|rosat]</tt><tt><br>
@@ -518,6 +519,7 @@
+
[&lt;ref&gt;] [filter &lt;string&gt;]</tt><tt><br>
</tt><tt> &nbsp;&nbsp;&nbsp; &nbsp;&nbsp;&nbsp; [&lt;ref&gt;]
[filter load &lt;filename&gt;]</tt><tt><br>
@@ -538,6 +540,7 @@
+
[&lt;ref&gt;] [match &lt;ref&gt; &lt;ref&gt;]</tt><tt><br>
</tt><tt> </tt><tt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt>
</tt><tt>[&lt;ref&gt;] [match error &lt;value&gt;
@@ -562,6 +565,7 @@
+
[&lt;ref&gt;] [panto yes|no]</tt><tt><br>
</tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[&lt;ref&gt;] [plot &lt;xcol&gt; &lt;ycol&gt; &lt;xerrcol&gt;
@@ -594,6 +598,7 @@
+
[&lt;ref&gt;] [save &lt;filename&gt;]</tt><tt><br>
</tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[&lt;ref&gt;] [server</tt><tt> </tt><tt>cds|adac|cadc|cambridge|sao|ukirt|iucaa|bejing|saao]</tt><tt><br>
@@ -627,6 +632,7 @@
+
[symbol shape</tt><tt> </tt><tt>circle point|box point|diamond
point|</tt><tt>cross point|x point|arrow point|boxcircle point]</tt><tt><br>
</tt><tt> </tt><tt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -689,6 +695,7 @@
+
{$Hmag} {$e_Jmag} {$e_Hmag}</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>catalog print</tt><tt><br>
</tt><tt> </tt><tt>catalog psky fk5</tt><tt><br>
@@ -712,6 +719,7 @@
+
point}</tt><tt><br>
</tt><tt> </tt><tt>catalog symbol color red</tt><tt><br>
</tt><tt> catalog symbol font times</tt><tt><br>
@@ -861,6 +869,7 @@
+
[save levels &lt;filename&gt;]<br>
</tt></tt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [copy]<br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [paste
@@ -950,6 +959,7 @@
+
zmax &lt;coordsys&gt;]</tt><tt><br>
</tt><tt> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [open|close]</tt><tt><br>
</tt><tt> &nbsp;</tt><tt><br>
@@ -1692,6 +1702,7 @@
+
Macros</a> for more information.</p>
<tt>Syntax:<br>
iexam []<br>
@@ -2208,6 +2219,7 @@
+
load &lt;filename&gt; xy|xyex|xyey|xyexey]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
[[&lt;plotname&gt;] save &lt;filename&gt;]</tt><tt><br>
@@ -2223,6 +2235,7 @@
+
duplicate [#]]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2234,6 +2247,7 @@
+
stats yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2245,6 +2259,7 @@
+
list yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2256,6 +2271,7 @@
+
loadconfig &lt;filename&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
[[&lt;plotname&gt;] saveconfig &lt;filename&gt;]</tt><tt><br>
@@ -2284,6 +2300,7 @@
+
close</tt><tt>]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2295,9 +2312,46 @@
+
mode pointer|zoom]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt><br>
- </tt><tt> </tt><tt> </tt><tt># configure graph</tt><tt><br>
+ </tt><tt> </tt><tt> </tt><tt><tt><tt><tt><tt># export image</tt><tt><br>
+ </tt><tt> </tt><tt> </tt>plot</tt><tt> </tt><tt>[[&lt;plotname&gt;]
+
+
+
+
+
+
+
+
+
+ </tt>export</tt><tt> </tt><tt>[gif|tiff|jpeg|png]</tt><tt>
+ </tt><tt>&lt;filename&gt;</tt><tt><br>
+ &nbsp;&nbsp;</tt></tt><tt><tt>&nbsp;&nbsp; [<tt>[&lt;plotname&gt;]
+
+
+
+
+
+
+
+
+
+ </tt>export jpeg &lt;filename&gt;</tt><tt> </tt><tt>[1-100]</tt><tt><br>
+ &nbsp;&nbsp;&nbsp;&nbsp; </tt><tt> </tt><tt> </tt></tt><tt><tt><tt>[[&lt;plotname&gt;]
+
+
+
+
+
+
+
+
+
+ </tt>export tiff &lt;filename</tt><tt>&gt;</tt><tt> </tt><tt>[none|jpeg|packbits|deflate]</tt><tt><br>
+ </tt><tt> &nbsp;<br>
+ </tt></tt># configure graph</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>plot [[&lt;plotname&gt;] axis x|y
grid yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
@@ -2313,6 +2367,7 @@
</tt><tt> </tt><tt> </tt><tt>&nbsp; &nbsp;&nbsp;
[[&lt;plotname&gt;] axis x|y format &lt;string&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
+
background &lt;value&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2324,6 +2379,7 @@
+
legend yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;
[[&lt;plotname&gt;] legend position right|left|top|bottom]</tt><tt><br>
@@ -2353,6 +2409,7 @@
+
barmode normal|stacked|aligned|overlap]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt><br>
</tt><tt> </tt><tt> </tt><tt># configure current dataset</tt><tt><br>
@@ -2367,6 +2424,7 @@
+
shape
none|circle|square|diamond|plus|splus|scross|triangle|arrow]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2379,6 +2437,7 @@
+
shape fill yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2390,6 +2449,7 @@
+
shape color &lt;value&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2401,6 +2461,7 @@
+
smooth step|linear|cubic|quadratic|catrom]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2412,6 +2473,7 @@
+
color &lt;value&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2423,6 +2485,7 @@
+
width &lt;value&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2434,6 +2497,7 @@
+
dash yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2445,6 +2509,7 @@
+
error yes|no]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2456,6 +2521,7 @@
+
error color &lt;value&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt>
</tt><tt>[[&lt;plotname&gt;] error cap yes|no]</tt><tt><br>
@@ -2469,6 +2535,7 @@
+
error width &lt;value&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;</tt><tt> </tt><tt>[[&lt;plotname&gt;]
@@ -2480,6 +2547,7 @@
+
name &lt;string&gt;]</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt><br>
</tt><tt> </tt><tt> </tt><tt># select current dataset</tt><tt><br>
@@ -2532,8 +2600,16 @@
</tt><tt> </tt><tt> </tt><tt>plot mode</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>ds9.set(string cmd)</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>plot mode pointer</tt><tt><br>
- </tt><tt> </tt><tt> </tt><tt><br>
- </tt><tt> </tt><tt> </tt><tt># configure plot</tt><tt><br>
+ </tt><tt> </tt><tt> </tt><tt><tt><br>
+ </tt><tt> </tt><tt> </tt><tt><tt><tt><tt><tt># export plot</tt><tt><br>
+ </tt></tt></tt></tt></tt></tt><tt><tt><tt><tt><tt><tt><tt><tt>ds9.set(string
+ cmd)</tt><tt><br>
+ </tt><tt> </tt><tt> </tt>plot export tiff foo.tiff
+ jpeg</tt></tt></tt><br>
+ plot export jpeg foo.jpeg 75<br>
+ plot export png foo.png</tt><br>
+ <br>
+ </tt></tt># configure plot</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>string value = ds9.get(string cmd)</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>plot axis x grid</tt><tt><br>
</tt><tt> </tt><tt> </tt><tt>plot axis x log</tt><tt><br>
@@ -3197,6 +3273,7 @@
+
[&lt;ref&gt;] [save &lt;filename&gt;]</tt><tt><br>
</tt><tt> </tt><tt>&nbsp;&nbsp; &nbsp;&nbsp; &nbsp; [&lt;ref&gt;]
[radius &lt;value&gt; degrees|arcmin|arcsec]</tt><tt><br>
@@ -3324,6 +3401,7 @@
+
[sigma &lt;value&gt;]<br>
</tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -3336,6 +3414,7 @@
+
[sigmaminor &lt;value&gt;]<br>
</tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
[angle
@@ -3349,6 +3428,7 @@
+
&lt;value&gt;]<br>
</tt></tt></tt></tt></tt></tt></tt></tt> <tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
@@ -3360,6 +3440,7 @@
+
[match]<br>
&nbsp;&nbsp;&nbsp; &nbsp;&nbsp; [lock [yes|no]]</tt><br>
<tt><tt>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; [open|close]<br>
@@ -3390,6 +3471,7 @@
+
sigma 2.0<br>
</tt></tt></tt></tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt><tt>smooth
@@ -3401,6 +3483,7 @@
+
sigmaminor 2.0<br>
</tt></tt></tt></tt></tt></tt></tt></tt></tt> <tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt><tt>smooth
@@ -3412,6 +3495,7 @@
+
angle 45<br>
</tt></tt></tt></tt></tt></tt></tt></tt></tt></tt></tt>
smooth open<br>