summaryrefslogtreecommitdiffstats
path: root/ds9/library/plot.tcl
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/library/plot.tcl
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/library/plot.tcl')
-rw-r--r--ds9/library/plot.tcl4
1 files changed, 4 insertions, 0 deletions
diff --git a/ds9/library/plot.tcl b/ds9/library/plot.tcl
index 1749e3c..19cd77d 100644
--- a/ds9/library/plot.tcl
+++ b/ds9/library/plot.tcl
@@ -12,6 +12,10 @@ proc PlotDef {} {
set iap(windows) {}
set iap(unique) 0
+ set iap(jpeg,quality) 75
+ set iap(tiff,compress) none
+ set iap(error) [msgcat::mc {An error has occurred while creating the image. Please be sure that the plot window is in the upper left corner of the default screen and the entire window is visible.}]
+
set pap(graph,bg) white
set pap(graph,title) {}
set pap(graph,title,family) helvetica