diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-07-21 15:29:25 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-07-21 15:29:25 (GMT) |
commit | 835490daefe396225ef845271c6ad976adf34636 (patch) | |
tree | 1e27071630fc4c92aec2aac2b347066ecd0127d8 /ds9 | |
parent | 5d2962136e70d87a8aacfa26641338bfec90fb95 (diff) | |
download | blt-835490daefe396225ef845271c6ad976adf34636.zip blt-835490daefe396225ef845271c6ad976adf34636.tar.gz blt-835490daefe396225ef845271c6ad976adf34636.tar.bz2 |
support multiple graphs per plot
Diffstat (limited to 'ds9')
-rw-r--r-- | ds9/library/manalysis.tcl | 18 |
1 files changed, 11 insertions, 7 deletions
diff --git a/ds9/library/manalysis.tcl b/ds9/library/manalysis.tcl index cc49586..9a56fbb 100644 --- a/ds9/library/manalysis.tcl +++ b/ds9/library/manalysis.tcl @@ -49,14 +49,10 @@ proc AnalysisMainMenu {} { $ds9(mb).analysis add cascade -label [msgcat::mc {Catalogs}] \ -menu $ds9(mb).analysis.cat $ds9(mb).analysis add separator - $ds9(mb).analysis add command -label "[msgcat::mc {Catalog Tool}]..." \ + $ds9(mb).analysis add command -label [msgcat::mc {Catalog Tool}] \ -command CATTool - $ds9(mb).analysis add command -label "[msgcat::mc {Line Plot Tool}]..." \ - -command PlotLineTool - $ds9(mb).analysis add command -label "[msgcat::mc {Bar Plot Tool}]..." \ - -command PlotBarTool - $ds9(mb).analysis add command -label "[msgcat::mc {Scatter Plot Tool}]..." \ - -command PlotScatterTool + $ds9(mb).analysis add cascade -label [msgcat::mc {Plot Tool}] \ + -menu $ds9(mb).analysis.plot $ds9(mb).analysis add separator $ds9(mb).analysis add command \ -label "[msgcat::mc {Virtual Observatory}]..."\ @@ -152,6 +148,14 @@ proc AnalysisMainMenu {} { -command CATMatchFrame $ds9(mb).analysis.cat add separator CATAnalysisMenu + + menu $ds9(mb).analysis.plot + $ds9(mb).analysis.plot add command -label [msgcat::mc {Line}] \ + -command PlotLineTool + $ds9(mb).analysis.plot add command -label [msgcat::mc {Bar}] \ + -command PlotBarTool + $ds9(mb).analysis.plot add command -label [msgcat::mc {Scatter}] \ + -command PlotScatterTool } proc PrefsDialogAnalysisMenu {w} { |