summaryrefslogtreecommitdiffstats
path: root/ds9/library/plot.tcl
diff options
context:
space:
mode:
Diffstat (limited to 'ds9/library/plot.tcl')
-rw-r--r--ds9/library/plot.tcl6
1 files changed, 5 insertions, 1 deletions
diff --git a/ds9/library/plot.tcl b/ds9/library/plot.tcl
index fd2db2c..baa9c2f 100644
--- a/ds9/library/plot.tcl
+++ b/ds9/library/plot.tcl
@@ -549,7 +549,11 @@ proc PlotUpdateCanvas {varname} {
PlotSaveState $varname
foreach cc $var(graphs) {
- $var($cc,graph) configure -barmode $var(bar,mode)
+ switch ($cc,type) {
+ line {}
+ bar {$var($cc,graph) configure -barmode $var(bar,mode)}
+ scatter {}
+ }
$var($cc,graph) configure -plotpadx 0 -plotpady 0 \
-font "{$ds9($var(graph,title,family))} $var(graph,title,size) $var(graph,title,weight) $var(graph,title,slant)" \