Hello,
RPM packages of ploticus 1.41 (plus older versions) are available at:
http://www.megaloman.com/~hany/RPM/ploticus.html
It's the same link as mentioned in http://www.sgpr.net/doc/Download.html
page but only version 1.39 is reported there while version 1.39, 1.40 and
1.41 are actualy available there.
Thanks to Stephen for this great application.
Sincerely
Peter Hanecak
--
=================================================================
= Peter Hanecak = GnuPG public key: =
= hany@... = http://terminus.sk/\ =
= http://terminus.sk/~hany/ = ~hany/gnupg-hany-public-key.txt =
=================================================================
Steve,
Yes, that's sounds right. Thank you very much, I appreciate it.
Regards,
Michael
--- In ploticus@y..., "Stephen C. Grubb" <scg@j...> wrote:
> Michael,
>
> OK, now I see what you are asking.
>
> You are using #proc curvefit to generate the curves.
> #proc curvefit fits a smooth curve to the points.
>
> You probably should use #proc lineplot if you want
> your data points shown exactly. See the attached
> script.
>
>
> Stephen C. Grubb scg@j...
> Scientific Software Engineer, The Jackson Laboratory
> 600 Main Street Bar Harbor, Maine 04609 USA
> -------------------------------------------------------
27 Jun 2001
Hey Stephen!
Just wanted to drop you a line to say thanks for the software.
Ploticus was a very quick, easy
and robust solution for our web page.
I am using ploticus through Perl CGI scripting to create GIF images of
stellar spectra, allowing users
to get a "quick glance" at a spectra before downloading it's large (and
cryptic) pixel file. Ploticus was so well suited for this task that
our data formats never changed to accommodate Ploticus. With a few
tweaks to the script file, I had GIF's being generated on the fly and
delivered to web browsers within a day of development.
You can find this demonstration at our site
http://stellar.phys.appstate.edu/ (through Online Spectra) where we
are releasing data from our spectroscopic survey of the nearby stars (
within ~120 l.y.) through NASA's Nstars project. For more info, please
visit the web page.
If you would like more info on how this Perl CGI creates and serves the
GIF images with Ploticus, you can e-mail me at mcfaddnm@...
Thanks again!!!
-Michael "Flip" McFadden
PS. Just today, our ascii "pixel list" files went through some personal
growth, and gained comment lines within the data lines. I was so happy
to find the "commentchar" attribute to "getdata". Again, a very robust
piece of software that conforms to MY data, not the other way around.
Thanks!
On Wed, 27 Jun 2001, Jason Burnett wrote:
> ok, that's working for me, but what's the formula for inches vs. screen
> resolution. i.e. if I want a 320x200 image, how many inches is that?
The conversion factor is 100 pixels per inch, so that would be 3.2" x 2"
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
Michael,
OK, now I see what you are asking.
You are using #proc curvefit to generate the curves.
#proc curvefit fits a smooth curve to the points.
You probably should use #proc lineplot if you want
your data points shown exactly. See the attached
script.
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
-------------------------------------------------------
Hi Steve,
Sorry about that, forgot to include more detail. The problem is that
the data contains plots at 22:13, 23:17 and 23:24, but these times
are not plotted on the graph.
BTW, I tried to download the graph you created but an error occurred
each time.
Regards,
Michael
--- In ploticus@y..., "Stephen C. Grubb" <scg@j...> wrote:
> Michael,
>
> I ran your example and it seems to be working correctly
> to me. You are supplying data for 3 consecutive days,
> and drawing 3 curves using 3 data fields.
>
> The curve is drawn from the first point to the last.
>
> Attached is the gif I generated.
>
> Perhaps you could describe what you want, in more detail.
>
> -Steve
>
>
> Stephen C. Grubb scg@j...
> Scientific Software Engineer, The Jackson Laboratory
> 600 Main Street Bar Harbor, Maine 04609 USA
Michael,
I ran your example and it seems to be working correctly
to me. You are supplying data for 3 consecutive days,
and drawing 3 curves using 3 data fields.
The curve is drawn from the first point to the last.
Attached is the gif I generated.
Perhaps you could describe what you want, in more detail.
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
On Wed, 27 Jun 2001, Jason Burnett wrote:
> Is there a way to force ploticus to spit out png images in a fixed
> size, no matter what the data?
>
> It'd make my life a lot easier if I could do that.
Jason,
Suppose you want a fixed size of 4" wide by 3" high.
You should be able to get this always, using pl ... -crop 0,0,4,3
This will crop the result using absolute locations 0,0 (lower left)
and 4,3 upper right.
Big images may require -pagesize as well e.g. -pagesize 4,3
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
A bug was reported where proc getdata was
being used to read fairly long data records,
and 'filter' was being used to process them.
The user was getting instability and garbage
result. This occurred in 1.41 and earlier versions.
This was due to a buffer size problem in getdata.c
The fix is available at
http://www.sgpr.net/download/getdata.c
(drop the file into ploticus src directory
and do a 'make')
Thanks to Jason Burnett for tracking down this bug.
-Steve
Hi,
I am having problems plotting the data file below (see transfer.dat
below). The x-axis contains dates (ie. 20/06/2001) and the y-axis
times (ie. 01:30). All the data is in time format (ie. 14:23). The
problem is that pl skews or sort of squashes or forces the plot
within a range that is not specified in my configuration script (see
my configuration script below). What am I doing wrong here? What I
require is to graph the times as they appear in the data file, except
the hyphens. Note, this also occurs when there are no missing times
in the data file.
The file transfer.dat contains the following data. Note, that a
hyphen indicates that there was no transfer for the specific file
type on that day... Thank you for any assistance.
Regards,
Michael
// transfer.dat
20/06/2001 08:05 08:14 08:35 -
21/06/2001 22:13 - 23:17 23:24
22/06/2001 09:12 09:28 09:40 09:59
The configuration file follows...
// My configuration file
#proc page
#if @DEVICE in png,gif
scale: 0.9
backgroundcolor: redorange
#endif
#proc getdata
file: filetrans_info_prototype.dat
fieldnames: date FileType1 FileType2 FileType3
#proc areadef
title: Unison File Transmissions
titledetails: size=16 align=L color=brightblue
rectangle: 1 1 8 4
xscaletype: date dd/mm/yyyy
xrange: 21/05/2001 26/06/2001
yscaletype: time hh:mm
yrange: 00:00 24:00
frame: color=black width=2.0
// do months using proc xaxis
#proc xaxis
location: min-0.2
stubs: increment 1 month
stubformat: MMM
stubdetails: adjust=0,+0.1 color=claret
ticlen: 0.05
axisline: none
stubslide: 1(s)
// do days using proc xaxis
#proc xaxis
stubs: none
stubs: increment 1
//stubrange: 010701
stubrange: 21/05/2001 26/06/2001
gridblocks: drabgreen drabgreen
stubformat: dd
stubdetails: size=6
ticlen: 0.05
label: Date in days
labeldistance: 0.6
labeldetails: color=oceanblue
#proc yaxis
stubs: inc 1 hour
//grid: color=gray(0.8)
stubformat: hh:mm
label: Time in hours
labeldistance: 0.6
labeldetails: color=oceanblue
#proc curvefit
xfield: date
yfield: FileType1
linedetails: color=yellow width=0.3
legendlabel: FileType1
#proc curvefit
xfield: date
yfield: FileType2
linedetails: color=red width=0.3
legendlabel: FileType2
#proc curvefit
xfield: date
yfield: FileType3
linedetails: color=brightblue width=0.3
legendlabel: FileType3
#proc legend
location: max+0.4 max
seglen: 0.2
Please be aware of a doc problem I just noticed.
In a number of places in ploticus,
double at-signs (@@) are used. The are
used in 'select' attributes,
proc getdata 'filter', 'proc print', and other places.
In the docs, these mistakenly show up as single at-signs(@).
They should be double (@@). The problem is mostly in example
code listings. The problem occured because I now
produce these man pages using a scripting system.
Pages affected include the Faq, proc getdata, proc bars,
proc print, and condex.
I will put the corrected pages up as soon as I can.. sorry
for the confusion.
-Steve
Apparently the sgpr.net web site hosting service
is having problems.. www.sgpr.net has been unavailable
all day yesterday (6/25) and now again today (6/26).
FTP has also been unavailable.
Sorry for the inconvenience.
I see that their stock share price is into the pennies..
maybe they are going under as we speak. :>
-Steve
Hi, Steve
First I'd like to thank you for developing such a powerful graphing package
that generates a lot of beautiful plots.
I've been using version 1.40 since late March and I just downloaded version
1.41 release 18 earlier this evening. I am running Solaris 8 on a Sun
Ultra 5. When I compiled the src, everything went well except for the
following warning:
gcc -DSOLARIS2 -DPLOTICUS -DDIST -I/usr/openwin/include -c sleep.c -o sleep.o
sleep.c: In function `Eusleep':
sleep.c:27: warning: passing arg 1 of `nanosleep' from incompatible pointer type
I don't think the above warning would impact the binary in any way. I just
include it as a FYI.
I use 'plpng' to plot a data file (testfile) into png graph. In the second
graph where the yaxis crosses at 0, instead of '0', the stub became
'-5.55112e-17' which is very close to '0' of course, but I would love to
see a '0' printed there. Is there anything I am doing wrong? The command
I am using is:
plpng -png testfile.p -o testfile.png
(On your web site, I saw you sometimes said 'pl -png', so should I use
that or 'plpng -png'?)
I am enclosing 'testfile' and 'testfile.p'. I would appreciate it very much
if you can help point me in the right direction.
As a sidenote, is it possible to overlay a ploticus graph on top of an
existing 'gif' or 'png' file? One possibility would be something like:
#proc embed
file: <existing png file>
#proc getdata
file: <file to be plotted>
#proc areadef
.
.
Last but not least, thank you for a Wonderful product!
- Wing Moy (wingmoy@...)
> There are some limitations with the command line.
> The command line has a length limitation of the arguments passed.
The command line args are placed into ploticus variables, which have a
documented max content length of 120 or so. So that's the bottleneck.
Variables were intended for scalar parameters rather than big lists.
Sorry you had trouble getting your 'large' parameters into the script; I
hope to make improvements in this area soon.
> P.S. we managed to find a way to create real-time user specific custom
> web-based charts without using any temp files.
Explain?
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
There are some limitations with the command line.
The command line has a length limitation of the arguments passed.
we were trying to pass on a list of numbers as a "-varg" argument (were talking
over 200 characters) to use in a sql statement and pl went ahead and cut off our
list at a certain number of characters.
we then attempted to grab the list using the #command from the getdata section
inside PL. no help there.
our only solution was to have the #command run a shell script and a temporary
sql table contain our list (which outputs the final dataset )
so in the next version, can you extend the maximum accepted memory size of the
command line arguments to at least a bajillion. Thanks
Jeff & Darryl @ BGI
P.S. we managed to find a way to create real-time user specific custom web-based
charts without using any temp files.
> As of today, ploticus is covered under GPL.
Awesome! That is very cool. My only reservations before about using ploticus
was it being non-GPL. (I used it anyways... Gnuplot can't compare for plotting
actual data.)
I also have something sort of neat you might want to put up on the examples
page:
http://mierle.com/keir/icqstats/
That is the generated statistics and graphs. The sources can be found at
http://mierle.com/keir/icqstat.tar.gz
I would suggest checking out the README for more information. (And bring
a sense of humor!)
Thanks in advance, Keir
--
Keir Mierle
keir@...
705.645.1711
UIN.7673934
Dear Stephen,
This e-mail is to express my enthousiasm about ploticus. As a matter of fact
I came to your webpage quite exidentally, I was "lured" there by your getgui
program but that didn't get much attention (I'm sorry) after I saw ploticus.
I don't know how long and with howmany people you've been working on this
but this is quite something and I'm surely going to use this frequently.
I've started my company something like half a year ago and decided that I
would be running Linux for a large part on an idological basis (If I had
done payed work in the extra time it cost me to setup everything under Linux
I would have erned enough money to buy the most expensive office suite ever
made). And it's paying off. The high "scriptability" is making my life a lot
easier and I can now produce impressive documents with hardly any effort
(well other than the actual contents of the document ofcourse).
What was missing was a good plot generation program. I don't want my
documents to look like "Oh, he's using gnuplot" so I had the intention to
write my own plot generation software in "off-time" to get out of the
gnuplot stage. This development is now arrested due to your great effort
called ploticus.
Moreover your software fits very nicely in the scriptability tradition as
you prove with the the mouse phenome project.
I am considering a "credits" section in my report layout, I haven't made a
decision about it yet, if so you'll be in it.
Again a very big thank you and keep up the good work.
Kind regards,
Jacco van Muiswinkel
--
-------------------->8---------------------->8----------
| Jacco van Muiswinkel | Karpaten 62 |
| Van Muiswinkel consultancy | 3424 DE Utrecht |
| consultancy@... | tel 030 - 267 10 17 |
| www.vanmuiswinkel.nl | fax 030 - 267 10 18 |
-------------------->8---------------------->8----------
On Mon, 11 Jun 2001, [iso-8859-1] Peter T Garner wrote:
> What I need to know is, do you have any plans to make
> Ploticus a daemon ? I have done some timing figures
> on my PC and the system("pl ..." ) takes approximately
> 0.5 seconds ( but it's only a Pentium 150/48Mb). I
> would think that most of this overhead is perl doing a
> system call and loading Ploticus. I reckoned that if
> Ploticus was a daemon, most of the overhead would be
> removed - this is pure theory of course :-)
>
> Even if it's not part of the Grand Design, it works
> really well- thanks for a great piece of software!
Thanks Peter, This was suggested awhile back by Tim Churches
(tchur@...) .. here is that dialogue.
Tim> One advantage Grace has is the ability
> to read input from a named pipe, as well as write to
> stdout, which means it can sit in
> memory waiting for commands.
I had considered this but not yet done it.. it would require improvement
of errorhandling (you can't just exit() when running in "server" mode) and
memory leaks could become an issue.. in general running in this mode
requires long term robustness that isn't as big a deal when pl exits after
every plot. But, as you say, eventually.
Tim> Keeping ploticus in memory as a long-running
> process is not really an issue
> given the small size of the binary. Better to
> concentrate on new graphical features and
> speed optimisation when called as a one-shot process,
> and just give up and die in the
> face of an error. On our new linux server the binary is
> clearly cached permanently in
> memory so the start-up latency is really small anyway,
> particularly compared to how
> long it takes to pull the necessary data out of MySQL.
I do hope to implement this at some point.
Thanks for your interest in ploticus.
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
Hello Steve !
I'm working towards the end of a proof-of-concept
project incorporating Ploticus 1.40. What happens is
that I have set up a perl script to act as an email
"bot". It takes a product number in the subject line
as a parameter, and then uses perl DBI to get results
from a MySQL database. The results are then input to
Ploticus which then produces a graph that is returned
as an email reply. Ploticus works really well in this
- I'm very impressed!
What I need to know is, do you have any plans to make
Ploticus a daemon ? I have done some timing figures
on my PC and the system("pl ..." ) takes approximately
0.5 seconds ( but it's only a Pentium 150/48Mb). I
would think that most of this overhead is perl doing a
system call and loading Ploticus. I reckoned that if
Ploticus was a daemon, most of the overhead would be
removed - this is pure theory of course :-)
Even if it's not part of the Grand Design, it works
really well- thanks for a great piece of software!
Best wishes,
Peter Garner
____________________________________________________________
Do You Yahoo!?
Get your free @yahoo.co.uk address at http://mail.yahoo.co.uk
or your free @yahoo.ie address at http://mail.yahoo.ie
This is incorporated in 1.41
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
Ken,
If the data for series 1 and series 2 are separate fields in
the same dataset, you can use (eg if series are in fields 3 and 5):
#proc areadef
yautorange: datafields=3,5
..etc..
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
Steve:
I'm absolutely loving Ploticus... it is pretty easy to pick up and quite
versitile, and it puts out nice looking graphs.
I am having one problem, however. I am plotting two different series
on a line graph, the X axis is a date and time, and my Y axis is a
number. The two series run over the same Y and X axis.
My problem occurs when trying to specify the Y axis range. I can never be
sure which series will have the highest Y value. My question is this: can
I tell the Y axis to make it's max value the max value of both series 1
and 2?
For instance, series 1 has a max of 10 and series 2 has a max of 2. I
would want the axis to range to 10. However, if it were reversed, I would
still want the series to range to 10, but it would get it from the second
series and not the first.
--Ken Speich
--
Ken Speich
Manager, Network Surveillance Tools
kspeich@... 301-598-0500 x2637
"How can you shoot the devil in the back? What if you miss?"
> Why not release Ploticus under the GPL?
>
> I understand your want to stop potential forking, but your current
> license seems rather opposed to the open source philosophy.
As of today, ploticus is covered under GPL.
Thanks for the suggestion.
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
Why not release Ploticus under the GPL?
I understand your want to stop potential forking, but your current
license seems rather opposed to the open source philosophy.
Thanks in advance, Keir
--
Keir Mierle
keir@...
705.645.1711
UIN.7673934
Jason, the bug you reported should be fixed
in ploticus 1.41, released today.
-Steve
On 23 May 2001, Jason Kwong wrote:
> I expect the tics along the x-axis to be in red and the stubs to be in green.
However, when I plot this, both the tics and the stubs are in green. Weirder
yet, if I turn on the grid for the x-axis, the tics and stubs both show up in
red! It's a small problem, but it'll be great if it can be fixed.
>
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
First off, I would like to say that Ploticus is an amazing plotting application.
I was fortunate enough to have found it early on in my search for a plotting
tool. I love how much control I have over the appearance of a graph. We'll be
using it in our current project (plotting stock data). I have, however, ran
across one small problem. I'm using v1.40 and I see a problem with the colour
of tics and stubs. Here's a little sample script:
---------------
#proc getdata
data:
0 0
1 1
2 2
#proc areadef
rectangle 1 1 5 5
xscaletype: linear
yscaletype: linear
xautorange: datafield=1
yautorange: datafield=2
#proc xaxis
tics: color=red
stubs: incremental
stubdetails: color=green
---------------
I expect the tics along the x-axis to be in red and the stubs to be in green.
However, when I plot this, both the tics and the stubs are in green. Weirder
yet, if I turn on the grid for the x-axis, the tics and stubs both show up in
red! It's a small problem, but it'll be great if it can be fixed.
Once again, a great plotting tool! Thank you very much!
Jason Kwong
Toronto, Canada
On Fri, 1 Jun 2001, Jason Burnett wrote:
> I have a data file that looks like:
>
> hosta 2
> hosta 3
> hosta 1
> hosta 6
>
> and I want to do a bar graph where:
>
> hosta = 3
>
> in other words, average all the values in the file for each host (will be
> several), and graph that value.
>
> I've looked through the docs for proc processdata, but I don't see it...
One way to do this would be to use #proc rangebar with statsonly: yes
and meanmode: yes
This will set a variable called RANGEBARMEAN, which you can then plot.
The code would look something like this:
#proc getdata
file: <your hosta file>
#proc rangebar
meanmode: yes
statsonly: yes
#proc getdata
data: @RANGEBARMEAN
#proc bars
..etc..
> as a secondary wish, if I have 10 hosts in there, I'd like to only plot
> the 5 with the highest averages.
I can't think of a straightforward way to compute a collection of
averages in pl, then find the "top 5". You could set up a loop and use
#proc processdata action: breaks with the above technique to iteratively
compute all averages and plot each. But I don't know how you might save
the averages so that the top 5 would be selected.
This processing may need to be performed by another program before
invoking pl.
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA
howdy
I have a data file that looks like:
hosta 2
hosta 3
hosta 1
hosta 6
and I want to do a bar graph where:
hosta = 3
in other words, average all the values in the file for each host (will be
several), and graph that value.
I've looked through the docs for proc processdata, but I don't see it...
as a secondary wish, if I have 10 hosts in there, I'd like to only plot
the 5 with the highest averages.
any idea?
--
Jason Burnett
Wham Engineering and Software, Inc.
Welcome to this group.
You can post questions/comments/responses directly to this group.
I will forward all questions/comments sent to me (steve@...)
to this group.
-Steve
Stephen C. Grubb scg@...
Scientific Software Engineer, The Jackson Laboratory
600 Main Street Bar Harbor, Maine 04609 USA