diff options
author | William Joye <wjoye@cfa.harvard.edu> | 2019-07-12 18:21:17 (GMT) |
---|---|---|
committer | William Joye <wjoye@cfa.harvard.edu> | 2019-07-12 18:21:17 (GMT) |
commit | fd32daaff35203c31364a6c7d56448363e81a363 (patch) | |
tree | 35be7944c821f9db24ae58d5ba2aad8fce172925 /ds9/library/plotdata.tcl | |
parent | 2ad840094419acf996253f402069d6e7f6cccf08 (diff) | |
download | blt-fd32daaff35203c31364a6c7d56448363e81a363.zip blt-fd32daaff35203c31364a6c7d56448363e81a363.tar.gz blt-fd32daaff35203c31364a6c7d56448363e81a363.tar.bz2 |
support multiple graphs per plot
Diffstat (limited to 'ds9/library/plotdata.tcl')
-rw-r--r-- | ds9/library/plotdata.tcl | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/ds9/library/plotdata.tcl b/ds9/library/plotdata.tcl index 6dbd801..d5b632c 100644 --- a/ds9/library/plotdata.tcl +++ b/ds9/library/plotdata.tcl @@ -245,6 +245,17 @@ proc PlotExternal {varname} { set var(graph,ds,name) "Dataset $nn" PlotAddElement $varname + + global ds9 + switch $ds9(wm) { + x11 { + update idletasks + wm geometry $var(top) \ + "[winfo width $var(top)]x[winfo height $var(top)]" + } + aqua - + win32 {} + } } proc PlotDupDataSet {varname mm} { |