icyphy / ptII

Ptolemy II is an open-source software framework supporting experimentation with actor-oriented design.
https://ptolemy.eecs.berkeley.edu/ptolemyII
Other
99 stars 43 forks source link

Ptplot changes: cursor query, annotation mode, histogram, plot formatter #92

Open cxbrooks opened 16 years ago

cxbrooks commented 16 years ago

Note: the issue was created automatically with bugzilla2github tool

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

cxbrooks commented 16 years ago

6/07 Changes from Rowland Johnson: I've been doing some work for a group at the lab that has been using ptplot. I've add some new "features" that you guys may want for the distributed version. Execute the attached jar. The work is still a bit raw around the edges and I'm starting to clean it up and finalize it. If you're interested, I'll work towards that end. Presently, the code doesn't come close to the Ptolemy coding standards.

1) a "cursor query mode" that presents the coordinates of points. 2) an "annotation mode" for, you guessed it, annotating 1) individual points and 2) the whole plot. 3) Histograms have bee re-worked. There is a histogram button that produces a histogram of the plot. 3) The plot formatter has been re-worked so that format options can be set for individual traces.

I've extended certain classes (like Plot, and Histogram) to add these features. Where appropriate, I've modified things like PlotBox. I've cleaned up a fair amount. _drawPlot had that Frakenstein feel that results from multiple people adding just enough stuff to make their thing work. It may be somewhat better now. I don't know if the real-time live update stuff still works (the group I did this for doesn't need the real-time stuff).

cxbrooks commented 16 years ago

Hmm, it looks like I never received source code from Rowland, so I'm looking into this now.