Skip to search.

Breaking News Visit Yahoo! News for the latest.

×Close this window

ploticus · ploticus software support

The Yahoo! Groups Product Blog

Check it out!

Group Information

  • Members: 271
  • Category: Graphics
  • Founded: Jun 22, 2001
  • Language: English
? Already a member? Sign in to Yahoo!

Yahoo! Groups Tips

Did you know...
Real people. Real stories. See how Yahoo! Groups impacts members worldwide.

Messages

Advanced
Messages Help
Messages 2196 - 2225 of 2335   Oldest  |  < Older  |  Newer >  |  Newest
Messages: Show Message Summaries Sort by Date ^  
#2196 From: Johann Schatzer <j.schatzer@...>
Date: Mon May 11, 2009 6:39 pm
Subject: legendlabel ends on first white space
j.schatzer@...
Send Email Send Email
 
ploticus 2.41-Mar2009 (unix)

legend labels in #proc bars end on first white space.

Example:
legendlabel: Northeast region

outputs only:
Northeast

Is string quoting necessary or possible?


thank you
Hans

--
Johann  Schatzer

#2197 From: Stephen Grubb <Stephen.Grubb@...>
Date: Tue May 12, 2009 2:23 pm
Subject: bug fix - legendlabel accepting only 1st token... should accept entire line
Stephen.Grubb@...
Send Email Send Email
 
Hello,

a bug fix applicable to version 2.41 has been posted.

http://ploticus.sourceforge.net/doc/news.html

Description:

12 May 2009 - bug fix - the 'legendlabel' attribute was only accepting first
whitespace-delimited token... should accept entire line. Fixed these 5 plotting
procs: proc_bars.c   proc_curvefit.c   proc_lineplot.c   proc_scatterplot.c  
proc_vector.c

Download the 5 files, put them in your ploticus ./src directory, and do:   make
clean; make

The bug was introduced in version 2.40 as a side effect of a 2.40 fix ( prefabs
#usefname instability issue ).   Sorry about that.

Thanks to the users who reported this problem.

Steve

#2198 From: Stephen Grubb <Stephen.Grubb@...>
Date: Tue May 12, 2009 1:53 pm
Subject: RE: legendlabel ends on first white space
Stephen.Grubb@...
Send Email Send Email
 
Hello Hans,

this is a bug.  legendlabel should accept the entire line.  It looks like
there's a similar problem with legendlabel in proc lineplot and in a few other
places.

I will follow up when a fix is available.

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of Johann
Schatzer [j.schatzer@...]
Sent: Monday, May 11, 2009 2:39 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] legendlabel ends on first white space

ploticus 2.41-Mar2009 (unix)

legend labels in #proc bars end on first white space.

Example:
legendlabel: Northeast region

outputs only:
Northeast

Is string quoting necessary or possible?

thank you
Hans

--
Johann Schatzer

#2199 From: "gusten.gren" <gusten.gren@...>
Date: Thu May 21, 2009 6:00 am
Subject: newbie: Ploticus on Mac OS X 10.5.7 on Mac G5 PPC
gusten.gren@...
Send Email Send Email
 
I use Fink Commander for installation of ploticus2. Should I install ploticus or
ploticus-nox. I aim to use ploticus mainly whith funtion calls in
C-applications. Should i #include any special libraies. How should I compile it.
Suggestion is
"cc api_examp.c -lploticus -lpng -lz (etc..) -lm -o api_examp" what is etc...
After installation.


A friend managed to compile it on Ubuntu Linux with:
cc example.c -o example -L/home/sverker/pl241src/src  -lploticus -lpng -lm -lX11

My library looks like this

gustengrens-power-mac-g5:lib gustengren$
gustengrens-power-mac-g5:lib gustengren$ pwd
/sw/lib
gustengrens-power-mac-g5:lib gustengren$ ls -la libplot*
-rw-r--r--  1 root  admin   594116 14 Jun  2008 libploticus.2.20.dylib
lrwxr-xr-x  1 root  admin       22 18 Maj 06:04 libploticus.2.dylib ->
libploticus.2.20.dylib
-rw-r--r--  1 root  admin  1210824 14 Jun  2008 libploticus.a
lrwxr-xr-x  1 root  admin       22 18 Maj 05:58 libploticus.dylib ->
libploticus.2.20.dylib
gustengrens-power-mac-g5:lib gustengren$
gustengrens-power-mac-g5:lib gustengren$

Hope we have som Mac c-programmers out there

Yours Gusten

#2200 From: "gusten.gren" <gustengren@...>
Date: Sun May 24, 2009 8:09 am
Subject: Newbee: Ploticus on Mac OS 10.5.7 PPC G5
gusten.gren
Send Email Send Email
 
Hello Mac OS C-programmers using ploticus
Plotting graphs in C-code-programs. I have downloaded Ploticus via Fink.
My path and library looks lika this.

gustengrens-power-mac-g5:lib gustengren$ pwd
/sw/lib
gustengrens-power-mac-g5:lib gustengren$ ls -la libplot*
-rw-r--r--  1 root  admin   594116 14 Jun  2008 libploticus.2.20.dylib
lrwxr-xr-x  1 root  admin       22 18 Maj 06:04 libploticus.2.dylib -> libploticus.2.20.dylib
-rw-r--r--  1 root  admin  1210824 14 Jun  2008 libploticus.a
lrwxr-xr-x  1 root  admin       22 18 Maj 05:58 libploticus.dylib -> libploticus.2.20.dylib
gustengrens-power-mac-g5:lib gustengren$

When i try to compile api_examp.c I get the following result.

gustengrens-power-mac-g5:Programmering gustengren$ cc -o test -L/sw/lib/libploticus.a -lz  -lm -L/usr/X11/lib/libpng.la -L/usr/X11/lib/libX11.la api_examp.c
api_examp.c: In function `main':
api_examp.c:19: warning: incompatible implicit declaration of built-in function `exit'
Undefined symbols:
 "_ploticus_end", referenced from:
     _main in ccf1LGnB.o
 "_ploticus_execline", referenced from:
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
     _main in ccf1LGnB.o
 "_ploticus_begin", referenced from:
     _main in ccf1LGnB.o
 "_ploticus_init", referenced from:
     _main in ccf1LGnB.o
 "_ploticus_arg", referenced from:
     _main in ccf1LGnB.o
 "_PL_do_x_button", referenced from:
     _main in ccf1LGnB.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gustengrens-power-mac-g5:Programmering gustengren$


Any one who knows where the ccf1LGnB.o is located. Should I add some more library, In case what.

What is the difference between ploticus2 and ploticus2-nox. I understan that *-nox dont support X11 but does it mean that it contains its own graphics library for screen plots or is it only for data file formats like png.


#2201 From: Stephen Grubb <Stephen.Grubb@...>
Date: Tue May 26, 2009 4:31 pm
Subject: RE: Newbee: Ploticus on Mac OS 10.5.7 PPC G5
Stephen.Grubb@...
Send Email Send Email
 
Hello, I can't help with the mac compile issues but can confirm that the *-nox
version has all references to X11 removed, and is only for generating png, etc.

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
gusten.gren [gustengren@...]
Sent: Sunday, May 24, 2009 4:09 AM
To: ploticus@yahoogroups.com
Subject: [ploticus] Newbee: Ploticus on Mac OS 10.5.7 PPC G5

Hello Mac OS C-programmers using ploticus
Plotting graphs in C-code-programs. I have downloaded Ploticus via Fink.
My path and library looks lika this.

gustengrens-power-mac-g5:lib gustengren$ pwd
/sw/lib
gustengrens-power-mac-g5:lib gustengren$ ls -la libplot*
-rw-r--r--  1 root  admin   594116 14 Jun  2008 libploticus.2.20.dylib
lrwxr-xr-x  1 root  admin       22 18 Maj 06:04 libploticus.2.dylib ->
libploticus.2.20.dylib
-rw-r--r--  1 root  admin  1210824 14 Jun  2008 libploticus.a
lrwxr-xr-x  1 root  admin       22 18 Maj 05:58 libploticus.dylib ->
libploticus.2.20.dylib
gustengrens-power-mac-g5:lib gustengren$

When i try to compile api_examp.c I get the following result.

gustengrens-power-mac-g5:Programmering gustengren$ cc -o test
-L/sw/lib/libploticus.a -lz  -lm -L/usr/X11/lib/libpng.la
-L/usr/X11/lib/libX11.la api_examp.c
api_examp.c: In function `main':
api_examp.c:19: warning: incompatible implicit declaration of built-in function
`exit'
Undefined symbols:
  "_ploticus_end", referenced from:
      _main in ccf1LGnB.o
  "_ploticus_execline", referenced from:
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o
      _main in ccf1LGnB.o< br>     _main in ccf1LGnB.o
      _main in ccf1LGnB.o
  "_ploticus_begin", referenced from:
      _main in ccf1LGnB.o
  "_ploticus_init", referenced from:
      _main in ccf1LGnB.o
  "_ploticus_arg", referenced from:
      _main in ccf1LGnB.o
  "_PL_do_x_button", referenced from:
      _main in ccf1LGnB.o
ld: symbol(s) not found
collect2: ld returned 1 exit status
gustengrens-power-mac-g5:Programmering gustengren$

Any one who knows where the ccf1LGnB.o is located. Should I add some more
library, In case what.

What is the difference between ploticus2 and ploticus2-nox. I understan that
*-nox dont support X11 but does it mean that it contains its own graphics
library for screen plots or is it only for data file formats like png.

_

#2202 From: Platonides <platonides@...>
Date: Tue May 26, 2009 9:33 pm
Subject: Re: Newbee: Ploticus on Mac OS 10.5.7 PPC G5
platonides@...
Send Email Send Email
 
gusten.gren wrote:
> When i try to compile api_examp.c I get the following result.
>
> gustengrens-power-mac-g5:Programmering gustengren$ cc -o test
> -L/sw/lib/libploticus.a -lz  -lm -L/usr/X11/lib/libpng.la
> -L/usr/X11/lib/libX11.la api_examp.c


I think your compile line may be wrong.
Try doing
$ cc -o test /sw/lib/libploticus.a -lz  -lm /usr/X11/lib/libpng.la
/usr/X11/lib/libX11.la api_examp.c
(is really libpng.a into X11 folder?)

or
$ cc -o test -Llibploticus.a -lploticus -lz  -lm -L/usr/X11/lib -lpng
-lX11 api_examp.c

#2203 From: "craiglbruce" <craigbruce@...>
Date: Fri Jun 19, 2009 1:19 pm
Subject: Static lib compile/apitest.c
craigbruce@...
Send Email Send Email
 
Bug report for 2.41

1. src/apitest.c is missing some headers:
#include <stdlib.h>
#include <string.h>

2. Compiling a static lib with X11, works, but when compiling apitest.c requires
x11.o and interact.o fix this by adding $(XOBJ) to the Makefile

# libploticus.a with png
libploticus-static: $(OBJ) $(XOBJ) api.o gd00files gd16files
         $(RMCOM) libploticus.$(LIBEXT)
         $(ARCOM) libploticus.$(LIBEXT) $(OBJ) $(XOBJ) api.o $(GD16) $(GD)


Cheers
Craig

#2204 From: "shlinuxau" <shlinuxau@...>
Date: Wed Jul 8, 2009 1:08 pm
Subject: libploticus compilation and pyPloticus - fixing the libploticus-so Makefile
shlinuxau
Send Email Send Email
 
pyPloticus is a python wrapper for libploticus. On my Mandriva 2009.1 system I
was having trouble with an undefined symbol error after compiling libploticus
2.41 and then installing pyPloticus. It all compiled and installed OK but on
importing the python module from inside the python interpreter I would get and
"undefined symbol PLGG_pixpt" error.

A small change to the ploticus Makefile has fixed this. As Steve says in his
Makefile the shared library part of the Makefile hasn't been tested - well on
Mandriva 2009.1 at least, it now has.

The key changes to Makefile are

1. Select option 5 by commenting out line 28 (option 1) and uncommenting lines
74 to 78.
2. Lines 223 to 226 should look like this
libploticus-static: $(OBJ) api.o gd00files gd16files
	 $(RMCOM) libploticus.$(LIBEXT)
	 $(ARCOM) libploticus.$(LIBEXT) $(OBJ) api.o $(GD16) $(GD)
3. Add $(FPIC) to the compilation of gd00files and gd16files
gd00files:
	 $(CC) $(FPIC) -I./gd13 -I./ -c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c
gdfontt.c
	 echo "done with gd00files" > gd00files
gd16files:
	 $(CC) -c $(WALL) $(FPIC) grgd.c -DGD16 -DPLOTICUS -I./ -I./gd16 -o grgd16.o
	 $(CC) -c $(CFLAGS) $(FPIC) devstuff.c -DGD16 -o devstuff16.o
	 $(CC) -c $(FPIC) -I./gd16 -I./ $(GD16H) gd16.c gd_io.c gd_io_dp.c gd_io_file.c
gd_png.c
	 echo "done with gd16files" > gd16files

4. Now "make clean" then "make"
5. Copy your squeaky new libploticus.a file to /usr/lib (or if like me you have
a 64 bit machine then /usr/lib64) but in the process rename the file to
libploticus.so.0.0 (you have actually created a shared library but I think
pyPloticus compilation expects a file with a ".a" extension).
6. Run ldconfig -n /usr/lib (ldconfig -n /usr/lib64 for 64 bitters)
7. You can now go to pyPloticus and first edit the setup.py file changing the
plot_src_path to point to the location of the newly created libploticus.a file
(something like plot_src_path="../pl241src/src/")
8. Run "python setup.py install"

You should now have it all set to go.
Testing
1. Start the python interpreter "python"
2. try to import the ploticus module "import ploticus"
You should get no errors at this point
3. You can now try the pyPloticus examples "python plot.py graph.html"
I get some errors listed but the graph srcc.png still get produced.

Hope this help someone please tell me if you have other errors of if this works
for you.

#2205 From: Stephen Grubb <Stephen.Grubb@...>
Date: Mon Jul 13, 2009 5:24 pm
Subject: RE: libploticus compilation and pyPloticus - fixing the libploticus-so Makefile
Stephen.Grubb@...
Send Email Send Email
 
Thanks!  I'll include these notes, and the FPIC Makefile mods  in the next
release. -Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of shlinuxau
[shlinuxau@...]
Sent: Wednesday, July 08, 2009 9:08 AM
To: ploticus@yahoogroups.com
Subject: [ploticus] libploticus compilation and pyPloticus - fixing the
libploticus-so Makefile

pyPloticus is a python wrapper for libploticus. On my Mandriva 2009.1 system I
was having trouble with an undefined symbol error after compiling libploticus
2.41 and then installing pyPloticus. It all compiled and installed OK but on
importing the python module from inside the python interpreter I would get and
"undefined symbol PLGG_pixpt" error.

A small change to the ploticus Makefile has fixed this. As Steve says in his
Makefile the shared library part of the Makefile hasn't been tested - well on
Mandriva 2009.1 at least, it now has.

The key changes to Makefile are

1. Select option 5 by commenting out line 28 (option 1) and uncommenting lines
74 to 78.
2. Lines 223 to 226 should look like this
libploticus-static: $(OBJ) api.o gd00files gd16files
$(RMCOM) libploticus.$(LIBEXT)
$(ARCOM) libploticus.$(LIBEXT) $(OBJ) api.o $(GD16) $(GD)
3. Add $(FPIC) to the compilation of gd00files and gd16files
gd00files:
$(CC) $(FPIC) -I./gd13 -I./ -c gdfontg.c gdfontl.c gdfontmb.c gdfonts.c
gdfontt.c
echo "done with gd00files" > gd00files
gd16files:
$(CC) -c $(WALL) $(FPIC) grgd.c -DGD16 -DPLOTICUS -I./ -I./gd16 -o grgd16.o
$(CC) -c $(CFLAGS) $(FPIC) devstuff.c -DGD16 -o devstuff16.o
$(CC) -c $(FPIC) -I./gd16 -I./ $(GD16H) gd16.c gd_io.c gd_io_dp.c gd_io_file.c
gd_png.c
echo "done with gd16files" > gd16files

4. Now "make clean" then "make"
5. Copy your squeaky new libploticus.a file to /usr/lib (or if like me you have
a 64 bit machine then /usr/lib64) but in the process rename the file to
libploticus.so.0.0 (you have actually created a shared library but I think
pyPloticus compilation expects a file with a ".a" extension).
6. Run ldconfig -n /usr/lib (ldconfig -n /usr/lib64 for 64 bitters)
7. You can now go to pyPloticus and first edit the setup.py file changing the
plot_src_path to point to the location of the newly created libploticus.a file
(something like plot_src_path="../pl241src/src/")
8. Run "python setup.py install"

You should now have it all set to go.
Testing
1. Start the python interpreter "python"
2. try to import the ploticus module "import ploticus"
You should get no errors at this point
3. You can now try the pyPloticus examples "python plot.py graph.html"
I get some errors listed but the graph srcc.png still get produced.

Hope this help someone please tell me if you have other errors of if this works
for you.

#2206 From: Joshua Simons <jsimons@...>
Date: Thu Jul 23, 2009 9:35 pm
Subject: Prefab dist question
jsimons@...
Send Email Send Email
 
I used the second prefab dist example in the handbook as a reference:

	 http://ploticus.sourceforge.net/doc/prefab_dist_ex.html

and created my own histogram. My labels do not look like those in the
example. Specifically, while the bin labels are written vertically,
the individual
letters are horizontal . In other words my labels look like this:

l
a
b
e
l

Any idea why this would be so and how to fix it? The letters in the
Y-axis label have the same problem. Note that I do not have this
problem if I produce a GIF file -- I only see it if my output is an
X window.

Josh Simons

#2207 From: "travis_bear" <travis_bear@...>
Date: Thu Jul 23, 2009 11:56 pm
Subject: Can I force commas in stub numbers?
travis_bear@...
Send Email Send Email
 
Hi,

I am using ploticus 2.32 with the lines prefab to graph network bandwidth use. 
The numbers involved have many digits, typically 6 or 7.  By default ploticus is
not inserting commas into the Y axis stubs, which makes it hard to easily read,
since you have to slow down and count zeros to understand what the chart is
saying.

Is there a way to force ploticus to use commas?  Or to make it divide the
numbers it's charting by 1000?

Thanks!


-Travis

#2208 From: Stephen Grubb <Stephen.Grubb@...>
Date: Fri Jul 24, 2009 6:53 pm
Subject: RE: Prefab dist question
Stephen.Grubb@...
Send Email Send Email
 
Hello Josh,

short answer - you are getting the expected behavior

ploticus uses native x11 fonts, and x11 doesn't support vertical text.

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of Joshua
Simons [jsimons@...]
Sent: Thursday, July 23, 2009 5:35 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] Prefab dist question

I used the second prefab dist example in the handbook as a reference:

http://ploticus.sourceforge.net/doc/prefab_dist_ex.html

and created my own histogram. My labels do not look like those in the
example. Specifically, while the bin labels are written vertically,
the individual
letters are horizontal . In other words my labels look like this:

l
a
b
e
l

Any idea why this would be so and how to fix it? The letters in the
Y-axis label have the same problem. Note that I do not have this
problem if I produce a GIF file -- I only see it if my output is an
X window.

Josh Simons

#2209 From: "dpa2te" <dpa2te@...>
Date: Sun Jul 26, 2009 10:15 am
Subject: Drawing arrays
dpa2te@...
Send Email Send Email
 
Hi,
i'm looking for a simple way to draw arrays directly in png format. I thought a
"proc array" would exist in Ploticus but i didn't find it. I tried to do it with
"proc bars" but it doesn't go well for variable width of columns based on text
length and other customisable items...
Does anybody have ideas ?
Thanks
dp

#2210 From: Stephen Grubb <Stephen.Grubb@...>
Date: Mon Jul 27, 2009 2:49 pm
Subject: RE: Can I force commas in stub numbers?
Stephen.Grubb@...
Send Email Send Email
 
Hello,

use something like this:   yinc="100 1000"

this should put a stub every 100,000  but show numbers in the 100's (native
value divided by 1000)... you then ould need to label the yaxis by saying eg.
"counts (in thousands)"

http://ploticus.sourceforge.net/doc/prefab_stdparms.html

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
travis_bear [travis_bear@...]
Sent: Thursday, July 23, 2009 7:56 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] Can I force commas in stub numbers?

Hi,

I am using ploticus 2.32 with the lines prefab to graph network bandwidth use.
The numbers involved have many digits, typically 6 or 7. By default ploticus is
not inserting commas into the Y axis stubs, which makes it hard to easily read,
since you have to slow down and count zeros to understand what the chart is
saying.

Is there a way to force ploticus to use commas? Or to make it divide the numbers
it's charting by 1000?

Thanks!

-Travis

#2211 From: "travis_bear" <travis_bear@...>
Date: Mon Jul 27, 2009 6:30 pm
Subject: Re: Can I force commas in stub numbers?
travis_bear@...
Send Email Send Email
 
Thank you Steve.  That was a very useful suggestion.  The charts look great now.


-Travis




--- In ploticus@yahoogroups.com, Stephen Grubb <Stephen.Grubb@...> wrote:
>
> Hello,
>
> use something like this:   yinc="100 1000"
>
> this should put a stub every 100,000  but show numbers in the 100's (native
value divided by 1000)... you then ould need to label the yaxis by saying eg.
"counts (in thousands)"
>
> http://ploticus.sourceforge.net/doc/prefab_stdparms.html
>
> Steve
>
> ________________________________________
> From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
travis_bear [travis_bear@...]
> Sent: Thursday, July 23, 2009 7:56 PM
> To: ploticus@yahoogroups.com
> Subject: [ploticus] Can I force commas in stub numbers?
>
> Hi,
>
> I am using ploticus 2.32 with the lines prefab to graph network bandwidth use.
The numbers involved have many digits, typically 6 or 7. By default ploticus is
not inserting commas into the Y axis stubs, which makes it hard to easily read,
since you have to slow down and count zeros to understand what the chart is
saying.
>
> Is there a way to force ploticus to use commas? Or to make it divide the
numbers it's charting by 1000?
>
> Thanks!
>
> -Travis
>

#2212 From: Stephen Grubb <Stephen.Grubb@...>
Date: Mon Jul 27, 2009 3:31 pm
Subject: RE: Drawing arrays
Stephen.Grubb@...
Send Email Send Email
 
Hello, can you supply an example of an "array plot" (such as a url).  I'd like
to know exactly what these are.  -Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of dpa2te
[dpa2te@...]
Sent: Sunday, July 26, 2009 6:15 AM
To: ploticus@yahoogroups.com
Subject: [ploticus] Drawing arrays

Hi,
i'm looking for a simple way to draw arrays directly in png format. I thought a
"proc array" would exist in Ploticus but i didn't find it. I tried to do it with
"proc bars" but it doesn't go well for variable width of columns based on text
length and other customisable items...
Does anybody have ideas ?
Thanks
dp

#2213 From: Joshua Simons <jsimons@...>
Date: Tue Jul 28, 2009 6:10 pm
Subject: Re: Prefab dist question
jsimons@...
Send Email Send Email
 
Steve,

It looks like X11R6 added some matrix transformation capabilities to
its fonts support, so it may be possible now to write the text vertically. 
See this link:


Personally, I would judge this not worth the effort. I am happy that the
GIF output has correctly oriented axis labels.

Josh

On Jul 24, 2009, at 2:53 PM, Stephen Grubb wrote:

Hello Josh,

short answer - you are getting the expected behavior

ploticus uses native x11 fonts, and x11 doesn't support vertical text.

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of Joshua Simons [jsimons@speakeasy.net]
Sent: Thursday, July 23, 2009 5:35 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] Prefab dist question

I used the second prefab dist example in the handbook as a reference:

http://ploticus.sourceforge.net/doc/prefab_dist_ex.html

and created my own histogram. My labels do not look like those in the
example. Specifically, while the bin labels are written vertically,
the individual
letters are horizontal . In other words my labels look like this:

l
a
b
e
l

Any idea why this would be so and how to fix it? The letters in the
Y-axis label have the same problem. Note that I do not have this
problem if I produce a GIF file -- I only see it if my output is an
X window.

Josh Simons



#2214 From: "dpa2te" <denis.patte@...>
Date: Sun Aug 9, 2009 12:54 pm
Subject: Re: Drawing arrays
denis.patte@...
Send Email Send Email
 
Hello,
first of all, sorry to be late but I was off for a few days.
Well, the rigth word should be "table" : I would like to draw tables such html
can do but directly in png format whithout having to convert  html pages...
dp

--- In ploticus@yahoogroups.com, Stephen Grubb <Stephen.Grubb@...> wrote:
>
> Hello, can you supply an example of an "array plot" (such as a url).  I'd like
to know exactly what these are.  -Steve
>
> ________________________________________
> From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of dpa2te
[dpa2te@...]
> Sent: Sunday, July 26, 2009 6:15 AM
> To: ploticus@yahoogroups.com
> Subject: [ploticus] Drawing arrays
>
> Hi,
> i'm looking for a simple way to draw arrays directly in png format. I thought
a "proc array" would exist in Ploticus but i didn't find it. I tried to do it
with "proc bars" but it doesn't go well for variable width of columns based on
text length and other customisable items...
> Does anybody have ideas ?
> Thanks
> dp
>

#2215 From: "beribboned" <ben@...>
Date: Thu Aug 13, 2009 5:10 pm
Subject: bubble plot
ben@...
Send Email Send Email
 
Is there a way (using prefabs) to create a bubble plot which is essentially a
scatterplot in which the plotting symbol diameter or area is proportional to a
third variable?  Maybe a better way to think about it is a heatmap where the 
"contentfield" contains
the variable that controls the plot symbol size, and instead of
'colorlist', something like 'pltsymsizelist' provides the mapping between the 
'cutofflist' and the "contentfield".


What might even be cooler is a stick as the plotting symbol with the height of
the stick related to "contentfield" magnitude so the graph would be quasi-3d.

#2216 From: "beribboned" <ben@...>
Date: Thu Aug 13, 2009 5:39 pm
Subject: Re: using ploticus in a real-time gui
ben@...
Send Email Send Email
 
have a look at http://www.thregr.org/~wavexx/software/trend/

or you might be able to modify
http://gapcmon.sourceforge.net/

( I know this group is for ploticus, but sometimes the most elegant solution is
the fastest one )

--- In ploticus@yahoogroups.com, Stephen Grubb <Stephen.Grubb@...> wrote:
>
> Hello Ben,

>
> Real-time or animated displays are pretty much outside of ploticus'  intended
scope.
>
> You might be able to cobble something together that refreshes one or two times
per second, by repeatedly generating a png and repeatedly loading it.
> I believe some people have tried doing something like this directly as an X11
graphic (that's what the -x11 option does)... anyone wish to comment?
>
> Generally, faster refresh rates tend to cause flicker and other undesirable
side effects, because pl isn't optimized for smooth refresh.
>
> If you get something working let us know..  good luck.
>
> Steve
>
> ________________________________________
> From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
pacificsymphony3 [pacificsymphony3@...]
> Sent: Tuesday, April 21, 2009 6:59 PM
> To: ploticus@yahoogroups.com
> Subject: [ploticus] using ploticus in a real-time gui
>
> Hi, all,
>
> I'm interesting in writing a gui to run on linux/unix that will display a
graph, which will be updated in real time, hopefully with a fairly fast refresh
rate. I'm thinking of doing this using libploticus. It would be cool if the
refresh rate could be faster than the persistence of vision, in order to create
a smooth animation, but if the refresh rate was only 1/sec or something I could
probably live with that.
>
> Is this a good idea, or is libploticus not really the appropriate tool for
this application?
>
> If it is a reasonable thing to do with libploticus, what would be the most
straightforward way to implement this? Repeatedly overwrite a PNG file, and keep
refreshing a display of the PNG image in the gui? I'm not really clear on what
the -x11 option is designed for -- would that be more appropriate?
>
> Thanks!
>
> -Ben Crowell
>

#2217 From: Stephen Grubb <Stephen.Grubb@...>
Date: Thu Aug 13, 2009 6:05 pm
Subject: RE: bubble plot
Stephen.Grubb@...
Send Email Send Email
 
Hello,

The underlying engine has this capability but the scat prefab does not.  You can
easily add it... go into your ./prefabs directory and edit scat.pl... and add
lines 209, 210, and 211 as shown below.

    198  //// do the data points last so they are on top of the rest of the
stuff..
    199  #proc scatterplot
    200  xfield: @x
    201  yfield: @y
    202  symbol: shape=@ptshape style=@ptstyle radius=@ptsize color=@ptcolor
    203  #ifspec clickmapurl
    204  #ifspec clickmaplabel
    205  legendlabel: @name
    206  #ifspec ptselect select
    207  #ifspec cluster
    208  // the following 3 added scg 8/13/09
    209  #ifspec sizefield
    210  #ifspec sizescale
    211  #ifspec colorfield

Then use pl -prefab scat ... sizefield=... and sizescale=... on your prefab
command line.

-----------

sizefield      dfield

     If specified, the size of data point symbols, lines, or text are controlled
by this data field, effectively allowing another variable to be presented. For
symbols or text the value in dfield will be taken to be a character point size
(see also sizescale). For line segments, the value in dfield will scale the
length of the lines, ie. a data value of 2.0 doubles it and 0.5 halves it.

sizescale     n

     May be used with sizefield when the size of data point symbols or text is
being controlled by a datafield. This attribute may be used to scale the size of
the point symbols to the desired range. Scaling is based on symbol area rather
than diameter. A value of 2.0 doubles the resulting size; 0.5 halves it.

colorfield dfield

     If specified, the color of data point symbols, lines, text, or rectangles is
controlled by this data field, effectively allowing another variable to be
presented. The data field should contain color specifications. (New in 2.41)


Steve


________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
Sent: Thursday, August 13, 2009 1:10 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] bubble plot

Is there a way (using prefabs) to create a bubble plot which is essentially a
scatterplot in which the plotting symbol diameter or area is proportional to a
third variable? Maybe a better way to think about it is a heatmap where the
"contentfield" contains
the variable that controls the plot symbol size, and instead of
'colorlist', something like 'pltsymsizelist' provides the mapping between the
'cutofflist' and the "contentfield".

What might even be cooler is a stick as the plotting symbol with the height of
the stick related to "contentfield" magnitude so the graph would be quasi-3d.

#2218 From: "beribboned" <ben@...>
Date: Mon Aug 17, 2009 5:12 pm
Subject: Re: bubble plot
ben@...
Send Email Send Email
 
Ok, the  sizefield and sizescale worked as advertised.  I haven't got the
colorfield to work yet:

datafile:
    3    3    20.45    black
    5    1     1.00     blue
    0    2    40.66    black
    1    1     7.63    black
    2    0     8.27    black
    1    3    20.80    black
    2    2     7.86    black
...

   pl -prefab scat data=stdin x=1  y=2  sizefield=3  \
      colorfield=4                                     \
      rectangle=" 1.05 1.15 4.15 5.25"                 \
      sizescale="1"                                    \
      xrange="-1.0 5 " yrange="-1.0 5 "                \
      firststub="."                                    \
  ...


all points are blue.

ploticus 2.41-Mar2009 (unix)

Thanks

--- In ploticus@yahoogroups.com, Stephen Grubb <Stephen.Grubb@...> wrote:
>
> Hello,
>
> The underlying engine has this capability but the scat prefab does not.  You
can easily add it... go into your ./prefabs directory and edit scat.pl... and
add lines 209, 210, and 211 as shown below.
>
>    198  //// do the data points last so they are on top of the rest of the
stuff..
>    199  #proc scatterplot
>    200  xfield: @x
>    201  yfield: @y
>    202  symbol: shape=@ptshape style=@ptstyle radius=@ptsize color=@ptcolor
>    203  #ifspec clickmapurl
>    204  #ifspec clickmaplabel
>    205  legendlabel: @name
>    206  #ifspec ptselect select
>    207  #ifspec cluster
>    208  // the following 3 added scg 8/13/09
>    209  #ifspec sizefield
>    210  #ifspec sizescale
>    211  #ifspec colorfield
>
> Then use pl -prefab scat ... sizefield=... and sizescale=... on your prefab
command line.
>
> -----------
>
> sizefield      dfield
>
>     If specified, the size of data point symbols, lines, or text are
controlled by this data field, effectively allowing another variable to be
presented. For symbols or text the value in dfield will be taken to be a
character point size (see also sizescale). For line segments, the value in
dfield will scale the length of the lines, ie. a data value of 2.0 doubles it
and 0.5 halves it.
>
> sizescale     n
>
>     May be used with sizefield when the size of data point symbols or text is
being controlled by a datafield. This attribute may be used to scale the size of
the point symbols to the desired range. Scaling is based on symbol area rather
than diameter. A value of 2.0 doubles the resulting size; 0.5 halves it.
>
> colorfield dfield
>
>     If specified, the color of data point symbols, lines, text, or rectangles
is controlled by this data field, effectively allowing another variable to be
presented. The data field should contain color specifications. (New in 2.41)
>
>
> Steve
>
>
> ________________________________________
> From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
> Sent: Thursday, August 13, 2009 1:10 PM
> To: ploticus@yahoogroups.com
> Subject: [ploticus] bubble plot
>
> Is there a way (using prefabs) to create a bubble plot which is essentially a
scatterplot in which the plotting symbol diameter or area is proportional to a
third variable? Maybe a better way to think about it is a heatmap where the
"contentfield" contains
> the variable that controls the plot symbol size, and instead of
> 'colorlist', something like 'pltsymsizelist' provides the mapping between the
'cutofflist' and the "contentfield".
>
> What might even be cooler is a stick as the plotting symbol with the height of
the stick related to "contentfield" magnitude so the graph would be quasi-3d.
>

#2219 From: Stephen Grubb <Stephen.Grubb@...>
Date: Tue Aug 18, 2009 4:43 pm
Subject: RE: Re: bubble plot
Stephen.Grubb@...
Send Email Send Email
 
Hello Ben,

I tried your example and the colors seem to work here, using x11 and image
output formats... see attached img.

echo "3 3 20.45 black
5 1 1.00 blue
0 2 40.66 black
1 1 7.63 black
2 0 8.27 black
1 3 20.80 black
2 2 7.86 black" |
pl -gif -prefab scat data=stdin x=1 y=2 sizefield=3 \
colorfield=4 \
rectangle=" 1.05 1.15 4.15 5.25" \
sizescale="1" \
xrange="-1.0 5 " yrange="-1.0 5 "


?

Steve


________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
Sent: Monday, August 17, 2009 1:12 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] Re: bubble plot

Ok, the sizefield and sizescale worked as advertised. I haven't got the
colorfield to work yet:

datafile:
3 3 20.45 black
5 1 1.00 blue
0 2 40.66 black
1 1 7.63 black
2 0 8.27 black
1 3 20.80 black
2 2 7.86 black
...

pl -prefab scat data=stdin x=1 y=2 sizefield=3 \
colorfield=4 \
rectangle=" 1.05 1.15 4.15 5.25" \
sizescale="1" \
xrange="-1.0 5 " yrange="-1.0 5 " \
firststub="." \
...

all points are blue.

ploticus 2.41-Mar2009 (unix)

Thanks

--- In ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>, Stephen
Grubb <Stephen.Grubb@...> wrote:
>
> Hello,
>
> The underlying engine has this capability but the scat prefab does not. You
can easily add it... go into your ./prefabs directory and edit scat.pl... and
add lines 209, 210, and 211 as shown below.
>
> 198 //// do the data points last so they are on top of the rest of the stuff..
> 199 #proc scatterplot
> 200 xfield: @x
> 201 yfield: @y
> 202 symbol: shape=@ptshape style=@ptstyle radius=@ptsize color=@ptcolor
> 203 #ifspec clickmapurl
> 204 #ifspec clickmaplabel
> 205 legendlabel: @name
> 206 #ifspec ptselect select
> 207 #ifspec cluster
> 208 // the following 3 added scg 8/13/09
> 209 #ifspec sizefield
> 210 #ifspec sizescale
> 211 #ifspec colorfield
>
> Then use pl -prefab scat ... sizefield=... and sizescale=... on your prefab
command line.
>
> -----------
>
> sizefield dfield
>
> If specified, the size of data point symbols, lines, or text are controlled by
this data field, effectively allowing another variable to be presented. For
symbols or text the value in dfield will be taken to be a character point size
(see also sizescale). For line segments, the value in dfield will scale the
length of the lines, ie. a data value of 2.0 doubles it and 0.5 halves it.
>
> sizescale n
>
> May be used with sizefield when the size of data point symbols or text is
being controlled by a datafield. This attribute may be used to scale the size of
the point symbols to the desired range. Scaling is based on symbol area rather
than diameter. A value of 2.0 doubles the resulting size; 0.5 halves it.
>
> colorfield dfield
>
> If specified, the color of data point symbols, lines, text, or rectangles is
controlled by this data field, effectively allowing another variable to be
presented. The data field should contain color specifications. (New in 2.41)
>
>
> Steve
>
>
> ________________________________________
> From: ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>
[ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>] On Behalf Of
beribboned [ben@...]
> Sent: Thursday, August 13, 2009 1:10 PM
> To: ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>
> Subject: [ploticus] bubble plot
>
> Is there a way (using prefabs) to create a bubble plot which is essentially a
scatterplot in which the plotting symbol diameter or area is proportional to a
third variable? Maybe a better way to think about it is a heatmap where the
"contentfield" contains
> the variable that controls the plot symbol size, and instead of
> 'colorlist', something like 'pltsymsizelist' provides the mapping between the
'cutofflist' and the "contentfield".
>
> What might even be cooler is a stick as the plotting symbol with the height of
the stick related to "contentfield" magnitude so the graph would be quasi-3d.
>

1 of 1 Photo(s)


#2220 From: "beribboned" <ben@...>
Date: Tue Aug 18, 2009 6:11 pm
Subject: Re: bubble plot
ben@...
Send Email Send Email
 
Is ps/eps output incompatible with colorfield?  I searched and did not yet find
that restriction.


--- In ploticus@yahoogroups.com, Stephen Grubb <Stephen.Grubb@...> wrote:
>
> Hello Ben,
>
> I tried your example and the colors seem to work here, using x11 and image
output formats... see attached img.
>
> echo "3 3 20.45 black
> 5 1 1.00 blue
> 0 2 40.66 black
> 1 1 7.63 black
> 2 0 8.27 black
> 1 3 20.80 black
> 2 2 7.86 black" |
> pl -gif -prefab scat data=stdin x=1 y=2 sizefield=3 \
> colorfield=4 \
> rectangle=" 1.05 1.15 4.15 5.25" \
> sizescale="1" \
> xrange="-1.0 5 " yrange="-1.0 5 "
>
>
> ?
>
> Steve
>
>
> ________________________________________
> From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
> Sent: Monday, August 17, 2009 1:12 PM
> To: ploticus@yahoogroups.com
> Subject: [ploticus] Re: bubble plot
>
> Ok, the sizefield and sizescale worked as advertised. I haven't got the
colorfield to work yet:
>
> datafile:
> 3 3 20.45 black
> 5 1 1.00 blue
> 0 2 40.66 black
> 1 1 7.63 black
> 2 0 8.27 black
> 1 3 20.80 black
> 2 2 7.86 black
> ...
>
> pl -prefab scat data=stdin x=1 y=2 sizefield=3 \
> colorfield=4 \
> rectangle=" 1.05 1.15 4.15 5.25" \
> sizescale="1" \
> xrange="-1.0 5 " yrange="-1.0 5 " \
> firststub="." \
> ...
>
> all points are blue.
>
> ploticus 2.41-Mar2009 (unix)
>
> Thanks
>
> --- In ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>, Stephen
Grubb <Stephen.Grubb@> wrote:
> >
> > Hello,
> >
> > The underlying engine has this capability but the scat prefab does not. You
can easily add it... go into your ./prefabs directory and edit scat.pl... and
add lines 209, 210, and 211 as shown below.
> >
> > 198 //// do the data points last so they are on top of the rest of the
stuff..
> > 199 #proc scatterplot
> > 200 xfield: @x
> > 201 yfield: @y
> > 202 symbol: shape=@ptshape style=@ptstyle radius=@ptsize color=@ptcolor
> > 203 #ifspec clickmapurl
> > 204 #ifspec clickmaplabel
> > 205 legendlabel: @name
> > 206 #ifspec ptselect select
> > 207 #ifspec cluster
> > 208 // the following 3 added scg 8/13/09
> > 209 #ifspec sizefield
> > 210 #ifspec sizescale
> > 211 #ifspec colorfield
> >
> > Then use pl -prefab scat ... sizefield=... and sizescale=... on your prefab
command line.
> >
> > -----------
> >
> > sizefield dfield
> >
> > If specified, the size of data point symbols, lines, or text are controlled
by this data field, effectively allowing another variable to be presented. For
symbols or text the value in dfield will be taken to be a character point size
(see also sizescale). For line segments, the value in dfield will scale the
length of the lines, ie. a data value of 2.0 doubles it and 0.5 halves it.
> >
> > sizescale n
> >
> > May be used with sizefield when the size of data point symbols or text is
being controlled by a datafield. This attribute may be used to scale the size of
the point symbols to the desired range. Scaling is based on symbol area rather
than diameter. A value of 2.0 doubles the resulting size; 0.5 halves it.
> >
> > colorfield dfield
> >
> > If specified, the color of data point symbols, lines, text, or rectangles is
controlled by this data field, effectively allowing another variable to be
presented. The data field should contain color specifications. (New in 2.41)
> >
> >
> > Steve
> >
> >
> > ________________________________________
> > From: ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>
[ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>] On Behalf Of
beribboned [ben@]
> > Sent: Thursday, August 13, 2009 1:10 PM
> > To: ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>
> > Subject: [ploticus] bubble plot
> >
> > Is there a way (using prefabs) to create a bubble plot which is essentially
a scatterplot in which the plotting symbol diameter or area is proportional to a
third variable? Maybe a better way to think about it is a heatmap where the
"contentfield" contains
> > the variable that controls the plot symbol size, and instead of
> > 'colorlist', something like 'pltsymsizelist' provides the mapping between
the 'cutofflist' and the "contentfield".
> >
> > What might even be cooler is a stick as the plotting symbol with the height
of the stick related to "contentfield" magnitude so the graph would be quasi-3d.
> >
>

#2221 From: "beribboned" <ben@...>
Date: Thu Aug 20, 2009 6:30 pm
Subject: imagemap, and mouseover support
ben@...
Send Email Send Email
 
I am making a concept chart using the #proc annotate method based on the "simple
E-R diagram" example on http://ploticus.sourceforge.net/doc/clickmap.html

When I add several concepts wide, the image seems to truncate at x=1024 (any
backingbox, or text stops at 1024). Is there an easy way around this? Even 1280x
would help.

I have messed with the -scale to get it to fit, but the font gets very small.

tx

#2222 From: Stephen Grubb <Stephen.Grubb@...>
Date: Tue Sep 1, 2009 12:06 pm
Subject: RE: imagemap, and mouseover support
Stephen.Grubb@...
Send Email Send Email
 
Hello,

did you try increasing -pagesize ?

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
Sent: Thursday, August 20, 2009 2:30 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] imagemap, and mouseover support

I am making a concept chart using the #proc annotate method based on the "simple
E-R diagram" example on http://ploticus.sourceforge.net/doc/clickmap.html

When I add several concepts wide, the image seems to truncate at x=1024 (any
backingbox, or text stops at 1024). Is there an easy way around this? Even 1280x
would help.

I have messed with the -scale to get it to fit, but the font gets very small.

tx

#2223 From: Stephen Grubb <Stephen.Grubb@...>
Date: Tue Sep 1, 2009 12:04 pm
Subject: RE: Re: bubble plot
Stephen.Grubb@...
Send Email Send Email
 
Hello,

Are you able to get the desired results if you produce an img?  If so, then it
indicates that the problem may be specific to ps/eps.  Let me know, meanwhile I
will set up a test when I have the chance.

Steve

________________________________________
From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
Sent: Tuesday, August 18, 2009 2:11 PM
To: ploticus@yahoogroups.com
Subject: [ploticus] Re: bubble plot

Is ps/eps output incompatible with colorfield? I searched and did not yet find
that restriction.

--- In ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>, Stephen
Grubb <Stephen.Grubb@...> wrote:
>
> Hello Ben,
>
> I tried your example and the colors seem to work here, using x11 and image
output formats... see attached img.
>
> echo "3 3 20.45 black
> 5 1 1.00 blue
> 0 2 40.66 black
> 1 1 7.63 black
> 2 0 8.27 black
> 1 3 20.80 black
> 2 2 7.86 black" |
> pl -gif -prefab scat data=stdin x=1 y=2 sizefield=3 \
> colorfield=4 \
> rectangle=" 1.05 1.15 4.15 5.25" \
> sizescale="1" \
> xrange="-1.0 5 " yrange="-1.0 5 "
>
>
> ?
>
> Steve
>
>
> ________________________________________
> From: ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>
[ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>] On Behalf Of
beribboned [ben@...]
> Sent: Monday, August 17, 2009 1:12 PM
> To: ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com>
> Subject: [ploticus] Re: bubble plot
>
> Ok, the sizefield and sizescale worked as advertised. I haven't got the
colorfield to work yet:
>
> datafile:
> 3 3 20.45 black
> 5 1 1.00 blue
> 0 2 40.66 black
> 1 1 7.63 black
> 2 0 8.27 black
> 1 3 20.80 black
> 2 2 7.86 black
> ...
>
> pl -prefab scat data=stdin x=1 y=2 sizefield=3 \
> colorfield=4 \
> rectangle=" 1.05 1.15 4.15 5.25" \
> sizescale="1" \
> xrange="-1.0 5 " yrange="-1.0 5 " \
> firststub="." \
> ...
>
> all points are blue.
>
> ploticus 2.41-Mar2009 (unix)
>
> Thanks
>
> --- In
ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com><mailto:ploticus%40ya\
hoogroups.com>, Stephen Grubb <Stephen.Grubb@> wrote:
> >
> > Hello,
> >
> > The underlying engine has this capability but the scat prefab does not. You
can easily add it... go into your ./prefabs directory and edit scat.pl... and
add lines 209, 210, and 211 as shown below.
> >
> > 198 //// do the data points last so they are on top of the rest of the
stuff..
> > 199 #proc scatterplot
> > 200 xfield: @x
> > 201 yfield: @y
> > 202 symbol: shape=@ptshape style=@ptstyle radius=@ptsize color=@ptcolor
> > 203 #ifspec clickmapurl
> > 204 #ifspec clickmaplabel
> > 205 legendlabel: @name
> > 206 #ifspec ptselect select
> > 207 #ifspec cluster
> > 208 // the following 3 added scg 8/13/09
> > 209 #ifspec sizefield
> > 210 #ifspec sizescale
> > 211 #ifspec colorfield
> >
> > Then use pl -prefab scat ... sizefield=... and sizescale=... on your prefab
command line.
> >
> > -----------
> >
> > sizefield dfield
> >
> > If specified, the size of data point symbols, lines, or text are controlled
by this data field, effectively allowing another variable to be presented. For
symbols or text the value in dfield will be taken to be a character point size
(see also sizescale). For line segments, the value in dfield will scale the
length of the lines, ie. a data value of 2.0 doubles it and 0.5 halves it.
> >
> > sizescale n
> >
> > May be used with sizefield when the size of data point symbols or text is
being controlled by a datafield. This attribute may be used to scale the size of
the point symbols to the desired range. Scaling is based on symbol area rather
than diameter. A value of 2.0 doubles the resulting size; 0.5 halves it.
> >
> > colorfield dfield
> >
> > If specified, the color of data point symbols, lines, text, or rectangles is
controlled by this data field, effectively allowing another variable to be
presented. The data field should contain color specifications. (New in 2.41)
> >
> >
> > Steve
> >
> >
> > ________________________________________
> > From:
ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com><mailto:ploticus%40ya\
hoogroups.com>
[ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com><mailto:ploticus%40y\
ahoogroups.com>] On Behalf Of beribboned [ben@]
> > Sent: Thursday, August 13, 2009 1:10 PM
> > To:
ploticus@yahoogroups.com<mailto:ploticus%40yahoogroups.com><mailto:ploticus%40ya\
hoogroups.com>
> > Subject: [ploticus] bubble plot
> >
> > Is there a way (using prefabs) to create a bubble plot which is essentially
a scatterplot in which the plotting symbol diameter or area is proportional to a
third variable? Maybe a better way to think about it is a heatmap where the
"contentfield" contains
> > the variable that controls the plot symbol size, and instead of
> > 'colorlist', something like 'pltsymsizelist' provides the mapping between
the 'cutofflist' and the "contentfield".
> >
> > What might even be cooler is a stick as the plotting symbol with the height
of the stick related to "contentfield" magnitude so the graph would be quasi-3d.
> >
>

#2224 From: "beribboned" <ben@...>
Date: Thu Sep 10, 2009 1:55 pm
Subject: Re: imagemap, and mouseover support
ben@...
Send Email Send Email
 
Thanks.  I experimented with the pagesize option and found that I need to
increase the pixsize option appropriately to make it all work out pretty.

In my case, -pagesize 13,6  -pixsize 1220,500  works.  I obviously need to
re-read the explanation of those parameters so I don't have to use brute-force
experimentation to get it right.
Thanks



--- In ploticus@yahoogroups.com, Stephen Grubb <Stephen.Grubb@...> wrote:
>
> Hello,
>
> did you try increasing -pagesize ?
>
> Steve
>
> ________________________________________
> From: ploticus@yahoogroups.com [ploticus@yahoogroups.com] On Behalf Of
beribboned [ben@...]
> Sent: Thursday, August 20, 2009 2:30 PM
> To: ploticus@yahoogroups.com
> Subject: [ploticus] imagemap, and mouseover support
>
> I am making a concept chart using the #proc annotate method based on the
"simple E-R diagram" example on
http://ploticus.sourceforge.net/doc/clickmap.html
>
> When I add several concepts wide, the image seems to truncate at x=1024 (any
backingbox, or text stops at 1024). Is there an easy way around this? Even 1280x
would help.
>
> I have messed with the -scale to get it to fit, but the font gets very small.
>
> tx
>

#2225 From: Steve Grubb <stevegrubb@...>
Date: Thu Sep 17, 2009 12:59 pm
Subject: Re: Ploticus Clickmap Limitation
stevegrubb1
Send Email Send Email
 
Hello Champ,

If you built ploticus from the source code you can raise the limit yourself.

cd src

edit  clickmap.c

find this:
#define MAXENTRIES 500

and change the value to 5000 or whatever.

Then do: make clean; make

I will keep a note of the request to raise this limit in general and hopefully we can do something about this in the next release.

Steve


On Tue, Sep 15, 2009 at 6:56 AM, Champ Lee <champlee@...> wrote:
Hello Steve,
 
First, thank you so much for your most excellent Ploticus software. I am finding it easier to use than most other tools in this space, and the robust features and control capabilities rival those of commercial products such as SAS/Graph.
 
My only problem is that I continue to hit the hard limit of 500 clickable zones and mouseover labels per job. Would it be possible to raise that value to say 5000, or better yet, make it a user configurable option? I have been using Ploticus to create stacked bar charts, and it is quite easy to exceed the 500 value. I have attached a sample of this type of problem as a html archive.
 
Thanks for all your efforts on Ploticus, and for any advice you might have.
 
Best regards,
 
Champ Lee
Southlake TX


Messages 2196 - 2225 of 2335   Oldest  |  < Older  |  Newer >  |  Newest
Add to My Yahoo!      XML What's This?

Copyright © 2010 Yahoo! Inc. All rights reserved.
Privacy Policy - Terms of Service - Guidelines NEW - Help