original{X,Y}RangeGiven
from
set{X,Y}Range()
to
_set{X,Y}Range()
so that if we have a simple plot
consisting only of data, then Reset Axes works properly.
plotml
package
and histogram
and histogram.bat
scripts
EPSGraphics.java
which will generate Encapsulated PostScript (EPS) on stdout.
See the class comment for a description of where stdout goes
on the various browsers.
Wrap: on
file directive.
setLabelFont()
: call getFontMetrics to update sized
Also, changed labelfont, superscriptfont and titlefont to labelFont etc.
Reported by Peter Biechele <peter.biechele@physik.uni-freiburg.de>
samplePlot
is a new method
that creates a sample plot.
reusedatasets: on
Histogram.java
,
HistogramApplet.java
,
and
../demo/Histogram.java
.
doc/download
directory which provides links to multiple download formats
"\t"
instead of an actual tab so as to avoid problems
with reindentation.
Reported by Louis Hernandez, Jr. <lhernan@sandia.gov>
-depend
and -Xdepend
.
ptplot
package to the ptolemy.plot
package.
ptplotapplet.jar
file has been renamed to
ptolemy.plotapplet.jar
to better reflect the package structure.
PlotApplication.java
was moved to a new directory
called ptolemy/apps
.
pxgraph
script has been removed. A new
script ptplot
replaces it. Usually, ptplot
uses
the PlotApplication class.
If pxgraph
is a link to ptplot
, then when
pxgraph
is run, it uses the Pxgraph class
ptplot2mif.tcl
, it was of little use.
I was unable to keep this class completely backwards compatible. So PlotLiveDemo and PlotLiveDemoApplet both had to be modified for things to work again.
Also I removed the debug printing lines everywhere. I found that they produced a huge amount of clutter, making it hard to read the code. And they generated so much info that they were hard to use anyway. And they were creeping into user-level code (PlotLiveDemo and PlotLiveDemoApplet).
ptplot
-bg
option would change the color of the plotting region and the region
around the plotting region where the legend is. Now -bg
only changed the region around the plotting region. The reason for
this change is that the colors of the data sets were designed to be
used on a white background.
-bb
command line argument. In the X11
version of pxgraph
, -bb
drew a bounding box
around the data region. Formerly, the Java version printed a message about
-bb
not being supported. In the Java version of
pxgraph
, the region where plots appear is a different
color than the surround region, which makes -bb
useless.
fillPlot()
method back in so that client
programs can call it. Reported by Stephan Puchegger <a9127383@unet.univie.ac.at>
JAVAHOME
is not set, and pxgraph
cannot
find a JDK, then it looks in /usr/eesww/lang/jdk1.1latest
.
This is for use in the EECS Department here at UC Berkeley.
pxgraph =500x500-0-0
was throwing
a numeric exception.
ReuseDataSets: on
file directive, which
causes datasets with the same name to be merged into one dataset
when plotted. This is useful for combining multiple files
that plot the same datasets.
pxgraph
script now take
two new command line arguments:
-bigendian
-bigendian
flag.
-littleendian
-littleendian
flag.
-binary
now reads pxgraph style binary data in the format
native to the machine where the Java Ptplot process is running.
The other binary format read by the -binary
option,
known as the raw binary format is always reads data as big-endian.
The Endian Examples page
illustrates use of the three options.
pxgraph
script now take
two new command line arguments:
-o
output filename
/tmp/t.ps
.
-print
Ok
button.
ptplot2mif.tcl
script
can be used to convert the PostScript output of Ptplot to Framemaker
MIF format. This script requires Tcl, and probably won't work under
Windows. This script does not do a perfect job converting, but it is
a start.
&
characters in them were being parsed
incorrectly.
ptplotapplet.jar
is now
created. This jar file is similar to ptplot.jar
,
except it does not include the classes used by the Pxgraph class.
As a result, ptplotapplet.jar
is smaller than
ptplot.jar
. The Pxgraph and Message classes are not
used in applets, so there is no need to download them for
applet only usage.
_graphics
field in PlotBox is now
transient
so that PlotBox can be serialized.
1.0E-12
, but Ptplot1.2 could not.
The change that caused the bug was that in Ptplot1.2, we used
java.io.StreamTokenizer
to parse the
numbers. Unfortunately, StreamTokenizer is buggy, it fails to parse
scientific notation. For more information, see
http://developer.javasoft.com/developer/bugParade/bugs/4079180.htm
.
The fix was to adapt the Ptplot1.1 number parsing code to handle error bars.
setXRange()
or setYRange()
are not
explicitly called by the user, then the data is padded slightly so that
the data is not plotted on the axes. The
Black and white plot using unique marks
demo is padded. Many of the other demos are not padded because the X
and Y ranges are explicitly set either in the data file or in the Java
code that created the plot.
d
, then
the raw 4 byte float format is assumed.
This format was prompted by a request from
John O'Sullivan<John.OSullivan@analog.com>.
The demo/data/bin.plt
was converted to the new raw 4 byte float
format.
XLog: on
and
YLog: on
. The pxgraph
script
now takes -lnx
and -lny
arguments as well.
See the Log Axes demo for more information.
code="ptplot.PlotApplet"
.
Formerly, they used
code="ptplot.Plot"
ptplot/demo
.
This means that the ptplot.zip does not contain the demo
classes, which is better if anyone actually wants to _use_ the plotter
instead of just running the demos.
https://ptolemy.berkeley.edu/java/old/ptplot1.3/ptplot/demo/audio/PlayingWave.htm
Last Updated: $Date: 2014-09-24 07:50:41 -0700 (Wed, 24 Sep 2014) $