cxbrooks / test

Second test for bugzilla to git
0 stars 0 forks source link

Be able to combine multiple plots into one window. #74

Open cxbrooks opened 16 years ago

cxbrooks commented 16 years ago

Note: the issue was created automatically with bugzilla2github tool

Original bug ID: BZ#142 From: @cxbrooks Reported version: 7.1.devel CC: pt-dev@chess.eecs.berkeley.edu

cxbrooks commented 16 years ago

Ian Brown writes:

It would be nice to have plotter1 and plotter2 combined in one plot. We cannot do this at the moment because all the data series share a y-axis scale and so combining them would result in the prices being displayed as a horizontal line.

The correct thing would be to handle two separate Y axes in one plot. This would require modification to PlotBox.

A workaround would be to use the Matlab plotter. Note that to use Matlab under cygwin requires starting up with $PTII/bin/vergil -jni.

Another workaround would be to use R Plotter, like what Kepler does.

BTW - The plotter has sample code that displays shows two plots. We could create an actor that had two plots, but that is not what is being asked for.

Another way to show two plots is to use Edward's interface window, which allows the user to customize the run control panel. This is a work in progress that is not shipped with the full release, but to run it, download the CVS version of Ptolemy, open a model and do View -> "Interface Window"