You can subscribe to this list here.
2000 |
Jan
|
Feb
|
Mar
|
Apr
(3) |
May
(14) |
Jun
(1) |
Jul
(3) |
Aug
(1) |
Sep
|
Oct
(2) |
Nov
(16) |
Dec
(1) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2001 |
Jan
(13) |
Feb
(22) |
Mar
(7) |
Apr
(8) |
May
(8) |
Jun
(11) |
Jul
(2) |
Aug
|
Sep
(5) |
Oct
(31) |
Nov
(23) |
Dec
(3) |
2002 |
Jan
(1) |
Feb
(17) |
Mar
(10) |
Apr
(3) |
May
(1) |
Jun
(2) |
Jul
|
Aug
|
Sep
(11) |
Oct
(5) |
Nov
(21) |
Dec
(20) |
2003 |
Jan
(27) |
Feb
(13) |
Mar
(20) |
Apr
(11) |
May
(12) |
Jun
(7) |
Jul
(16) |
Aug
(21) |
Sep
(9) |
Oct
(28) |
Nov
(24) |
Dec
(30) |
2004 |
Jan
(31) |
Feb
(5) |
Mar
|
Apr
(8) |
May
(12) |
Jun
(7) |
Jul
(13) |
Aug
(12) |
Sep
(2) |
Oct
(14) |
Nov
(42) |
Dec
(14) |
2005 |
Jan
|
Feb
|
Mar
(20) |
Apr
(17) |
May
(9) |
Jun
|
Jul
(7) |
Aug
(3) |
Sep
(17) |
Oct
(14) |
Nov
(9) |
Dec
|
2006 |
Jan
|
Feb
|
Mar
(13) |
Apr
(2) |
May
(46) |
Jun
(2) |
Jul
(20) |
Aug
(26) |
Sep
(31) |
Oct
(5) |
Nov
(9) |
Dec
(13) |
2007 |
Jan
(24) |
Feb
(22) |
Mar
(13) |
Apr
(25) |
May
(25) |
Jun
(9) |
Jul
(20) |
Aug
(9) |
Sep
(26) |
Oct
(3) |
Nov
(4) |
Dec
(3) |
2008 |
Jan
(92) |
Feb
(35) |
Mar
(39) |
Apr
(15) |
May
|
Jun
|
Jul
(18) |
Aug
(5) |
Sep
(5) |
Oct
(7) |
Nov
(10) |
Dec
(27) |
2009 |
Jan
(35) |
Feb
(34) |
Mar
(13) |
Apr
(9) |
May
(18) |
Jun
(9) |
Jul
(15) |
Aug
(13) |
Sep
(64) |
Oct
(7) |
Nov
(43) |
Dec
|
2010 |
Jan
(75) |
Feb
(22) |
Mar
(44) |
Apr
(34) |
May
(47) |
Jun
(77) |
Jul
(28) |
Aug
(7) |
Sep
(45) |
Oct
(1) |
Nov
(19) |
Dec
(7) |
2011 |
Jan
(14) |
Feb
|
Mar
(6) |
Apr
(12) |
May
(19) |
Jun
(3) |
Jul
(8) |
Aug
(4) |
Sep
(3) |
Oct
(21) |
Nov
(11) |
Dec
(4) |
2012 |
Jan
(2) |
Feb
(9) |
Mar
|
Apr
(1) |
May
(2) |
Jun
|
Jul
(1) |
Aug
(5) |
Sep
(5) |
Oct
(1) |
Nov
(18) |
Dec
(2) |
2013 |
Jan
(15) |
Feb
(16) |
Mar
(8) |
Apr
(5) |
May
|
Jun
(1) |
Jul
(17) |
Aug
(3) |
Sep
(17) |
Oct
(43) |
Nov
(25) |
Dec
(9) |
2014 |
Jan
(4) |
Feb
(8) |
Mar
(20) |
Apr
(14) |
May
(49) |
Jun
(1) |
Jul
|
Aug
(18) |
Sep
(2) |
Oct
(1) |
Nov
(22) |
Dec
(3) |
2015 |
Jan
(41) |
Feb
(2) |
Mar
(34) |
Apr
(30) |
May
(14) |
Jun
(17) |
Jul
(29) |
Aug
(3) |
Sep
(3) |
Oct
(1) |
Nov
(7) |
Dec
(4) |
2016 |
Jan
|
Feb
|
Mar
(1) |
Apr
(4) |
May
(1) |
Jun
|
Jul
(1) |
Aug
|
Sep
(25) |
Oct
(9) |
Nov
(14) |
Dec
(13) |
2017 |
Jan
(11) |
Feb
(8) |
Mar
(12) |
Apr
(4) |
May
(25) |
Jun
(2) |
Jul
|
Aug
(5) |
Sep
(10) |
Oct
(25) |
Nov
|
Dec
(6) |
2018 |
Jan
(18) |
Feb
(6) |
Mar
(6) |
Apr
(1) |
May
(7) |
Jun
(13) |
Jul
(8) |
Aug
|
Sep
(5) |
Oct
(2) |
Nov
(17) |
Dec
(3) |
2019 |
Jan
(11) |
Feb
(4) |
Mar
(13) |
Apr
(19) |
May
(1) |
Jun
(2) |
Jul
(8) |
Aug
(4) |
Sep
(32) |
Oct
(51) |
Nov
(1) |
Dec
(9) |
2020 |
Jan
(9) |
Feb
(6) |
Mar
|
Apr
|
May
(3) |
Jun
(2) |
Jul
(5) |
Aug
(4) |
Sep
|
Oct
|
Nov
|
Dec
|
2021 |
Jan
|
Feb
|
Mar
|
Apr
|
May
(7) |
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
(2) |
Nov
(3) |
Dec
|
2022 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(1) |
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2024 |
Jan
|
Feb
(1) |
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
2025 |
Jan
(3) |
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: Alan W. I. <ir...@be...> - 2007-02-21 17:18:24
|
Hi K=E5re: I am going to answer you on list since others may be interested as well in my response. On 2007-02-21 09:08+0100 K=E5re Edvardsen wrote: > Hi Alan, > > Thanx for helping me out! I got all PerlDL examples work perfectly! It > was of cource me messing up the color maps, but everthing's ok now. > > >> >> You should see postscript files that have been generated in the build tr= ee >> test subdirectory as a result of that ctest command. Use a postscript >> viewer to look at them, (e.g., "gv test/x16pdl.ps"). Hopefully you will= get >> good-looking results that verify that all is well with PDL and the CVS >> version of PLplot on your platform, and we can take it from there to get >> equivalent good-looking results for your own pdl examples. > > > So then back to my own pdl problem. I just have to admit I can't figure > out how plshades work based on the examples (and the plplot ref-man is > not consistent with PDL, I guess...) > Anyway, as I wrote earlier I have three different arrays, $lon, $lat and > $value (or one three-column pdl) where I like to shade on basis of > $value. I spent some time last night figuring out how plshades work, but > still no success... Are you able to help me out on this one? Sure, but let's take some additional steps first which should make it easie= r for you to transform one of the PDL examples into what you want. (1) From your build tree (where you executed the make command and ctest command) try "make install >& make_install.out" which should install everything you need in a coherent way at the install prefix you specified t= o the cmake command. Look over make_install.out to make sure there are no errors, and everything is installed where you expect from the prefix that you specified. (2) Run the PDL examples in the install tree. cd $prefix/share/plplot5.7.2/examples/ =2E/plplot-test.sh --front-end=3Dperl The resulting output on my system is the following: Testing front-end perl PLplot library version: 5.7.2 perl: relocation error: /usr/lib/perl5/auto/PDL/Graphics/PLplot/PLplot.so: undefined symbol: plmap That last error is because my version of pdl does not have a wrapper implemented for plmap so the resulting x19pdl.ps is zero length, but all other postscript results are fine on my system including the plshades o= nes in x16pdl.ps. If you get results similar to above (especially the library version) and x16pdl.ps looks good, then the next step is to modify perl/x16.pl in that install tree to define the arrays plotted in the way that you like. Once that proof-of-concept is working, then you should figure out exactly what plplot-test.sh and test_perl.sh scripts do (e.g., to set LD_LIBRARY_PATH) t= o set up the PDL examples so that you can set up your own PDL example so that it works properly with the modern version of PLplot. BTW, I have little experience with Perl or PDL, but the syntax in x16.pl looks entirely straightforward. For example, your $lon, $lat, and $value arrays are the equivalent of $x, $y, and $z. By comparing every PLplot command in x16.pl with its C documentation (e.g., http://plplot.sourceforge.net/docbook-manual/plplot-html-5.7.2/plshades.htm= l) you should quickly be able to infer what the form of every PDL equivalent PLplot command should be. Note, PDL uses the "redacted" form of API (being documented as we speak) where all redundant dimensional information is dropped from commands. (Redundant, because the PDL arrays carry dimension information along with them, and the PDL interface to PLplot figures that out and sets up the C call appropriately.) Let us know how it goes. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2007-02-20 18:52:01
|
On 2007-02-20 16:19+0100 K=E5re Edvardsen wrote: > Dear list'ers > > I'm struggling with a surface shade plot and can't figure out what I'm > doing wrong. I can't find any info other than the plplot homepage > examples regarding PerlDL, and all I get by following those examples are > just black surfaces... I just checked, and the standard pdl examples work for me on Debian stable (except I cannot do the map example since plmap is not implemented for that old version of pdl). Thus, I suspect there is something wrong/inconsistent with the version of PLplot that is linked to your version of pdl. To be sure you are using a modern good version of PLplot with the PDL available on your platform, here is what I would like you to do (which follows what I did for the above test). (1) Build PLplot from the current CVS version (which is quite stable). Follow the directions at http://www.miscdebris.net/plplot_wiki/ except that you should use the -DENABLE_pdl=3DON -DBUILD_TEST=3DON options for cmake. (The first allows pdl and the second allows ctest). You can stop after the make command (i.e., at this point you don't have to do the make install command). It is a good idea to save all output from the cmake and make commands in case there is any trouble with the ctest step below. (2) After executing the "make" command run ctest --verbose --tests-regex perl >& ctest.out (drop the --tests-regex perl option if you want to test everything). You should see postscript files that have been generated in the build tree test subdirectory as a result of that ctest command. Use a postscript viewer to look at them, (e.g., "gv test/x16pdl.ps"). Hopefully you will ge= t good-looking results that verify that all is well with PDL and the CVS version of PLplot on your platform, and we can take it from there to get equivalent good-looking results for your own pdl examples. If you notice cmake, make, or ctest errors or get no pdl results, then plea= se post to the list with the complete output from cmake, make, and ctest (i.e.= , cmake.out, make.out, and ctest.out) attached. Those files are usually neede= d to help us figure out what the problem is on any particular platform. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: E. <ke...@ni...> - 2007-02-20 15:19:58
|
Dear list'ers I'm struggling with a surface shade plot and can't figure out what I'm doing wrong. I can't find any info other than the plplot homepage examples regarding PerlDL, and all I get by following those examples are just black surfaces... Anyway, here's my problem (and it should be simple to solve, argh!!!): I've got three different arrays, $lon, $lat and $value. $value[0] corresponds to $lon[0] and $lat[0] and so on. $value takes values from 0.0 to about 20.0. The lon/lat grid resolution is 2.5 X 2.5 deg and may take any geographical value (-180 to180 and -90 to 90) I'd like to make a surface shade plot (blue -> green -> red) showing red for the highest values. Sorry to bother you with such basic questions... Cheers, Ked |
From: E. <ke...@ni...> - 2007-02-20 12:47:26
|
Hi all, Does anyone have any idea how to build new full resolution .map files from the GMT (or other) full res maps data? The reason for asking is that plmap provides rather lousy maps with the existing .map files. Cheers, Ked |
From: Arjen M. <arj...@wl...> - 2007-02-20 10:48:32
|
Kåre Edvardsen wrote: > Hi all, > > Is it possible to get better resolution on the maps plotted by plmap? > Hello Ked, you would need to supply more detailed coordinates. The data are in the files *.map in the data directory. In principle there is no limit to the resolution, but you do need the correct information. Regards, Arjen |
From: E. <ke...@ni...> - 2007-02-20 10:35:37
|
Hi all, Is it possible to get better resolution on the maps plotted by plmap? Cheers, Ked |
From: Werner S. <sm...@ia...> - 2007-02-20 09:39:48
|
Hi, I think plcol0(0) doesn't "work", since you plot white on white (color 0, which is the background, was set to white by plscolbg()). I normally do (this is C code; this must be done before the init() call!): /* exchange black and white - background is white */ plscol0( 0, 255, 255, 255 ); /* White, color 0, background */ plscol0( 15, 0, 0, 0 ); /* Black, color 15 */ /* Initialize plplot */ plinit(); ans use color 15 if I want something in black: plcol0( 15 ); pllab( "Energy [eV]", "Polar angle [deg]", "Transmission function" ); There is no need to call plscolbg() than anymore (in fact this function calls plcol(0)) HTH, Werner Kåre Edvardsen wrote: > > How do I get a black plot on a white background. I can get about any > color on a with background, except black. 'plcol0 (0)' does not work. Why??? > > I'm using plplot (5.6.1) and perlDL. Here's my sampl code: > > use PDL; > use PDL::Graphics::PLplot; > > $x = sequence 6; > $y = $x ** 2; > > plsdev ("xwin"); > plscolbg (255,255,255); # Gives white bg > plinit (); > > pladv (0); > plvpor (0.15,0.85,0.1, 0.9); > plwind (0.0,5.0,0.0,26.0); > > plbox (0,0,0,0,"bcnst","bcnst"); > plcol0 (0); # Does NOT give black, just gives nothing... > plline ($x, $y); > > plend (); > > > ------------------------------------------------------------------------ > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys-and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > > > ------------------------------------------------------------------------ > > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |
From: E. <ke...@ni...> - 2007-02-20 09:30:31
|
How do I get a black plot on a white background. I can get about any color on a with background, except black. 'plcol0 (0)' does not work. Why??? I'm using plplot (5.6.1) and perlDL. Here's my sampl code: use PDL; use PDL::Graphics::PLplot; $x = sequence 6; $y = $x ** 2; plsdev ("xwin"); plscolbg (255,255,255); # Gives white bg plinit (); pladv (0); plvpor (0.15,0.85,0.1, 0.9); plwind (0.0,5.0,0.0,26.0); plbox (0,0,0,0,"bcnst","bcnst"); plcol0 (0); # Does NOT give black, just gives nothing... plline ($x, $y); plend (); |
From: Valery P. <pi...@is...> - 2007-02-15 10:23:13
|
Maurice LeBrun wrote: > Valery Pipin writes: > > On Thursday 15 February 2007, Werner Smekal wrote: > > > Hi, > > > > > > > Our ninth example has 5 separate pages which the -fam option turns > > > > into 5 separate files. I have also shown the use of the -fflen > > > > option which (in this case) insures the numerical suffix is three > > > > characters (in case you have more than 100 pages). I assume ffmpeg > > > > would have no trouble converting a collection of gif images into a > > > > format suitable for animations, but I would be interested in exactly > > > > which end format you have chosen. > > > > > > one additional note: > > > > > > You can use Imagemagick to make an mpeg file. Just type (after you > > > made the plots with PLplot and the family option): > > > > > > convert -quality 80 *.png output.mpg > > > > I have used this way. > > I would advice to make gif animation in addition. > > The problem is that not every windows pc can play mpg files. > > Gif animation can be shown in every web browser. > > A couple additional comments: > > - if you create as a series of .gif or .png files, you can use the > ImageMagick "animate" program to display them, with a fair level > of control over how they are displayed (speed, etc). I haven't had > uniformly positive experience with it but it's not bad. Thanks for this hint! I did not know about "animate" |
From: Valery P. <pi...@is...> - 2007-02-15 04:57:12
|
On Thursday 15 February 2007, Werner Smekal wrote: > Hi, > > > Our ninth example has 5 separate pages which the -fam option turns into > > 5 separate files. I have also shown the use of the -fflen option which > > (in this case) insures the numerical suffix is three characters (in case > > you have more than 100 pages). I assume ffmpeg would have no trouble > > converting a collection of gif images into a format suitable for > > animations, but I would be interested in exactly which end format you > > have chosen. > > one additional note: > > You can use Imagemagick to make an mpeg file. Just type (after you made > the plots with PLplot and the family option): > > convert -quality 80 *.png output.mpg I have used this way. I would advice to make gif animation in addition. The problem is that not every windows pc can play mpg files. Gif animation can be shown in every web browser. In yorick the program may look as (similar in fortran): for(k=1; k <= mm; k++) { kk=(k-1); //plsdev, "tk"; plsdev, "png"; plsfile, pr1(k)+"ee.png"; plspage,600,500,600,500,1,1; plscolbg,255,255,255; plinit; plssub,3,1; .....and etc. } Then convert -scale 708x608 -delay 100 1ee.png 2ee.png 3ee.png \ 4ee.png 5ee.png 6ee.png \ 7ee.png 8ee.png 9ee.png \ 10ee.png 11ee.png 12ee.png \ 13ee.png 14ee.png 15ee.png \ 16ee.png 17ee.png 18ee.png \ 19ee.png 20ee.png 21ee.png 22ee.png 23ee.png \ 24ee.png 25ee.png 26ee.png 27ee.png 28ee.png \ 29ee.png 30ee.png 31ee.png -loop 0 dyne.gif The result can be found at http://iszf.irk.ru/~pip/dyn.gif. This is an animation for solar dynamo model The gif can be transformed to mpeg and avi. You have to know the right codecs (those from pc where you will show the movie) . regards V |
From: Werner S. <sm...@ia...> - 2007-02-14 19:36:21
|
Hi, > Our ninth example has 5 separate pages which the -fam option turns into > 5 separate files. I have also shown the use of the -fflen option which > (in this case) insures the numerical suffix is three characters (in case > you have more than 100 pages). I assume ffmpeg would have no trouble > converting a collection of gif images into a format suitable for animations, > but I would be interested in exactly which end format you have chosen. one additional note: You can use Imagemagick to make an mpeg file. Just type (after you made the plots with PLplot and the family option): convert -quality 80 *.png output.mpg (if you have produced png files). Via the quality option you can reduce the size of the file. Regards, Werner -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |
From: Alan W. I. <ir...@be...> - 2007-02-14 18:32:22
|
On 2007-02-14 18:21+0100 Dominique MICOLLET wrote: > Hello > > I wish to use plplot to make simple physics animation (such as a mobile thrown > in the air) on a Debian Sarge. > The plplot version is 5.7.2, used with Fortran program. I can use C if > necessary. > > I need a set of images which will be used to feed ffmpeg. > > [...] I tried to use the pbm driver. I got a big > file, in which I guess the successive images are dumped. > But I don't know how to extract them. To answer that question use one of the pnmto*** or pbmto*** applications. For example, I have just successfully used ./x01c -dev pbm -o test.pbm pnmtops < test.pbm >test.ps However, the results are really low resolution and not nearly as good as using -dev psc directly. Probably some maintenance of -dev pbm is required to get higher resolution, but it has been years since anybody worked on that device driver. > (1) Is there a way to drive the postscript driver to produce correctly > oriented graphs : mine are counterclockwise rotated. Use the -ori 1 option to rotate the postscript result the way you want, e.g., ./x01c -dev psc -ori 1 -o test.ps Use the -h command-line option to get help on lots of PLplot options. [out of order] > Currently I use the postscript driver (1) : a call to plenv() for each frame > put a new page in the > file. Then pstoimg gives me the set of images. > > I guess it is not the best way. Probably not. pstoimg converts postscript to either PNG or GIF images, but it is probably better to use our -dev png or -dev gif devices directly. You will need the familying option (which turns PLplot pages into separate files) since PNG or GIF formats have no concept of plot pages as produced by PLplot. Here is an example: ./x09c -dev gif -o test.gif -fam -fflen 3 ls test.gif.* test.gif.001 test.gif.002 test.gif.003 test.gif.004 test.gif.005 Our ninth example has 5 separate pages which the -fam option turns into 5 separate files. I have also shown the use of the -fflen option which (in this case) insures the numerical suffix is three characters (in case you have more than 100 pages). I assume ffmpeg would have no trouble converting a collection of gif images into a format suitable for animations, but I would be interested in exactly which end format you have chosen. After you finalize your PLplot-generated animation, I hope you post a link to it because I think many of us will be interested in the result. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX - 2007-02-14 17:17:24
|
Hello I wish to use plplot to make simple physics animation (such as a mobile thrown in the air) on a Debian Sarge. The plplot version is 5.7.2, used with Fortran program. I can use C if necessary. I need a set of images which will be used to feed ffmpeg. Currently I use the postscript driver (1) : a call to plenv() for each frame put a new page in the file. Then pstoimg gives me the set of images. I guess it is not the best way. I tried to use the pbm driver. I got a big file, in which I guess the successive images are dumped. But I don't know how to extract them. I tried to use the plmeta driver to extract this files, unsuccessful. I tried to use the plmeta driver in conjunction with the -fam options or procedures, but I got unusable files or segmentations faults. Does somebody has a hint, or a program sample to lighten me ?? (1) Is there a way to drive the postscript driver to produce correctly oriented graphs : mine are counterclockwise rotated. Sincerely yours XXXXXXXXXXXXXXXXXX Email : XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX Universite de Bourgogne 9, Avenue Alain SAVARY BP 47870 Tel : XXXXXXXXXXXXXXXXXXXX 21078 DIJON CEDEX FRANCE Tfx : XXXXXXXXXXXXXXXXXXXX |
From: <hba...@ma...> - 2007-02-08 02:07:59
|
On Jan 26, 2007, at 4:31 PM, David Andrews wrote: > Hi, > > I'm looking to move a bunch of my code over to plplot from pgplot, > mainly to use its 3d stuff. I'm having trouble installing though, and > there seems to be several conflicting methods suggested for doing so > (plain ol configure / make / make install , cmake and fink). > Fink fails due to dependency on g77, which I have installed from > another source (hpc.sourceforge.net), make complains about various > libraries, specifically some undefined objective C types i think, and > cmake sounded very much more complex. cmake is different, but is no more complex than configure / make / make install. It is generally a lot faster and ccmake is a very hand interface for configuring your installation. > Ideally, i'd like to be able to use plplot with aquaterm, and they > suggest installing via fink, so is the best approach? Normally fink should work to install PLplot-5.6.1, but it sounds like you are having trouble with g77? You might try using fink to install fink's g77, then make sure that this is the one that will be used by default (i.e. "which g77" returns /sw/?/g77 rather than say /usr/ local/bin/g77). Fink is the simplest approach when it works. -Hazen |
From: <hba...@ma...> - 2007-02-02 03:28:30
|
On Jan 31, 2007, at 12:23 AM, Alan W. Irwin wrote: > It is turned on by default. But swig is used to build our python > interface, > and there has been a post-5.7.2 fix in the cvs version to make > finding swig > a _lot_ easier. (Basically, swig just has to be on the PATH in the > latest > version, and it is much more complicated than that for the 5.7.2 > version.) > Thus, I suggest you use the cvs version of PLplot for now. I confirm this on OS-X. It is nice not to have to specify where to find swig. -Hazen |
From: Werner S. <sm...@ia...> - 2007-01-31 22:31:48
|
Hi, Mark Wilson wrote: > Hi Werner, > > Thanks for your attention to this. I'm working on a Solaris box using > the default Sun video card (don't know much about it's capabilities, but > I can probably find out), with the plplotcanvas. One reason we want to > use the canvas (which is just fine for 95% of our apps in term of speed) > is that we can easily integrate it into our Gtk GUI's, say in a frame or > on a notebook page or whatever. It is my understanding that the xwin > driver would pop the graph up in a separate window, which isn't ideal in > our environment for various reasons. I suppose if we can tell the xwin > driver what X window ID to use, that may work... You could first try to unbeautify plplot_canvas. First be sure that you don't use freetype (which is nice but slow) with this function (I believe): void plplot_canvas_use_text(PlplotCanvas* self,gboolean use_text) Next, you have to hack the plplot code, check the following function in bindings/gnome2/lib/plplotcanvas.c PlplotCanvas* plplot_canvas_new() { PlplotCanvas *canvas; canvas = PLPLOT_CANVAS(g_object_new(PLPLOT_TYPE_CANVAS,"aa",TRUE,NULL)); plplot_canvas_devinit(canvas); return canvas; } I don't know gnome, but I believe >> "aa",TRUE, << means antialized output - turn this off with >> "aa",FALSE, << - and recompile plplot library. I might actually be totally wrong, but maybe someone who knows can comment on this. But I believe using plplot_canvas_use_text should make the output already considerably faster. Regards, Werner > > Mark > > > > Werner Smekal wrote: >> Hi Mark, >> >> just because I was curious I wrote a little program, which does some >> easy calculation and plots 1000 graphs. On Windows (Pentium M 1733Mhz) >> I achieved framerates from 280FPS (wxWidgets driver) to 530 FPS >> (wingcc) driver (using -drvopt text=0 to disable antialized text). The >> xwin driver might even be faster on Linux. Anyway, as long as you >> don't have surface plots, I can't see any problems even for >> complicated lineplots. >> >> So to answer your question - plplot performance should be good enough >> for 5Hz plots. >> >> HTH, >> Werner >> >> >> #include <time.h> >> #include <math.h> >> >> #include "plplot.h" >> >> #define PC_e 1.60217653e-19 /* elementary charge e >> [C] */ >> #define PC_me 9.1093826e-31 /* mass of electron me >> [kg] */ >> >> #define NP 1001 /* number of points */ >> #define MAX(a, b) ((a)<(b)?(b):(a)) >> #define MIN(a, b) ((a)<(b)?(a):(b)) >> >> int main( int argc, char *argv[] ) >> { >> PLFLT x[NP], y[NP]; >> PLFLT xmin, xmax; >> PLFLT ymin=1e30, ymax=1e-30; >> PLFLT r_c; >> size_t i,counter; >> clock_t watch; >> float duration; >> >> plparseopts( &argc, argv, PL_PARSE_FULL ); >> plinit(); >> plspause(0); >> >> watch=clock(); >> for(counter=0; counter<1000; counter++) { >> xmin=0.0001; >> xmax=0.0020+counter/50.0; >> r_c=0.02; /* maximum cyclotron radius */ >> for( i=0; i<NP; i++ ) { >> x[i] = (xmax-xmin)*i/NP+xmin; >> y[i] = (pow(x[i]*PC_e*r_c, 2.0)/2.0/PC_me)/PC_e; >> ymin=MIN( ymin, y[i] ); >> ymax=MAX( ymax, y[i] ); >> } >> >> plcol0( 1 ); >> plenv( xmin, xmax, ymin, ymax, 0, 0 ); >> plcol0( 2 ); >> pllab( "Magnetic field [T]", "Energy [eV]", "Energy Range"); >> >> plcol0( 3 ); >> plline( NP, x, y ); >> } >> duration=(float)(clock()-watch)/CLOCKS_PER_SEC; >> printf("%f sec, FPS %f\n", duration, 1000.0/duration ); >> >> /* Don't forget to call plend() to finish off! */ >> plend(); >> exit(0); >> } >> >> >> >> Mark Wilson wrote: >>> Hello, >>> >>> We need to update a graph at about a 5Hz rate, and the >>> plplot canvas doesn't seem able to keep up with that >>> (takes 200 to 300 ms to update graph). I'm wondering if >>> this is something to be expected, or if we're doing >>> something wrong (I don't expect anyone to tell me what I >>> may or may not be doing wrong, I'm just looking for >>> general info on performance). >>> >>> Thanks, >>> Mark >>> >>> ------------------------------------------------------------------------- >>> >>> Take Surveys. Earn Cash. Influence the Future of IT >>> Join SourceForge.net's Techsay panel and you'll get the chance to >>> share your >>> opinions on IT & business topics through brief surveys - and earn cash >>> http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV >>> >>> _______________________________________________ >>> Plplot-general mailing list >>> Plp...@li... >>> https://lists.sourceforge.net/lists/listinfo/plplot-general >> >> -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |
From: Werner S. <sm...@ia...> - 2007-01-31 22:24:54
|
Hi Mark, just because I was curious I wrote a little program, which does some easy calculation and plots 1000 graphs. On Windows (Pentium M 1733Mhz) I achieved framerates from 280FPS (wxWidgets driver) to 530 FPS (wingcc) driver (using -drvopt text=0 to disable antialized text). The xwin driver might even be faster on Linux. Anyway, as long as you don't have surface plots, I can't see any problems even for complicated lineplots. So to answer your question - plplot performance should be good enough for 5Hz plots. HTH, Werner #include <time.h> #include <math.h> #include "plplot.h" #define PC_e 1.60217653e-19 /* elementary charge e [C] */ #define PC_me 9.1093826e-31 /* mass of electron me [kg] */ #define NP 1001 /* number of points */ #define MAX(a, b) ((a)<(b)?(b):(a)) #define MIN(a, b) ((a)<(b)?(a):(b)) int main( int argc, char *argv[] ) { PLFLT x[NP], y[NP]; PLFLT xmin, xmax; PLFLT ymin=1e30, ymax=1e-30; PLFLT r_c; size_t i,counter; clock_t watch; float duration; plparseopts( &argc, argv, PL_PARSE_FULL ); plinit(); plspause(0); watch=clock(); for(counter=0; counter<1000; counter++) { xmin=0.0001; xmax=0.0020+counter/50.0; r_c=0.02; /* maximum cyclotron radius */ for( i=0; i<NP; i++ ) { x[i] = (xmax-xmin)*i/NP+xmin; y[i] = (pow(x[i]*PC_e*r_c, 2.0)/2.0/PC_me)/PC_e; ymin=MIN( ymin, y[i] ); ymax=MAX( ymax, y[i] ); } plcol0( 1 ); plenv( xmin, xmax, ymin, ymax, 0, 0 ); plcol0( 2 ); pllab( "Magnetic field [T]", "Energy [eV]", "Energy Range"); plcol0( 3 ); plline( NP, x, y ); } duration=(float)(clock()-watch)/CLOCKS_PER_SEC; printf("%f sec, FPS %f\n", duration, 1000.0/duration ); /* Don't forget to call plend() to finish off! */ plend(); exit(0); } Mark Wilson wrote: > Hello, > > We need to update a graph at about a 5Hz rate, and the > plplot canvas doesn't seem able to keep up with that > (takes 200 to 300 ms to update graph). I'm wondering if > this is something to be expected, or if we're doing > something wrong (I don't expect anyone to tell me what I > may or may not be doing wrong, I'm just looking for > general info on performance). > > Thanks, > Mark > > ------------------------------------------------------------------------- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general -- Dipl. Ing. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria email: sm...@ia... web: http://www.iap.tuwien.ac.at/~smekal phone: +43-(0)1-58801-13463 (office) +43-(0)1-58801-13469 (laboratory) fax: +43-(0)1-58801-13499 |
From: Alan W. I. <ir...@be...> - 2007-01-31 05:24:51
|
On 2007-01-30 19:26-0800 Kamae, Tsuneyoshi (Tune) wrote: > Dear PLplot experts, > > I have been using Plplot with python binding for 3 years. I want to install a new version onto my RHEL4 64bit version. I have two versions of python installed: Python 2.4.4 and 2.5. > > My questions are: > 1) cmake --help does not explain how '--enable-python' should be specified. > Shall I type in 'cmake --enable-python .'? It is turned on by default. But swig is used to build our python interface, and there has been a post-5.7.2 fix in the cvs version to make finding swig a _lot_ easier. (Basically, swig just has to be on the PATH in the latest version, and it is much more complicated than that for the 5.7.2 version.) Thus, I suggest you use the cvs version of PLplot for now. > 2) Will PLplot work with Python2.5 on a 64bit linux (AMD64x2)? dunno. > 3) Can user switch between 2 python versions without redoing cmake? I suggest you simply create two different installs of PLplot with different install prefixes to keep the installed versions separate. (Our wiki at http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page shows you how to specify the install prefix and a whole lot more with cmake.) Also, the two separate builds would somehow have to specify your two separate python versions. Our configuration now simply looks for the python executable so I guess you could shift between your two versions of python by fooling around with a python symlink that points to one or the other. Note the two separate builds and installs would only have to be done once. At python time, you could easily choose which kind of PLplot module you wanted by specifying the appropriate install location. Two separate install locations sounds a bit complicated though, so you may be better off just doing your plotting with a single plplot version using the standard python version you get with the "python" command. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Kamae, T. \(Tune\) <ka...@sl...> - 2007-01-31 03:27:00
|
Dear PLplot experts, I have been using Plplot with python binding for 3 years. I want to = install a new version onto my RHEL4 64bit version. I have two versions = of python installed: Python 2.4.4 and 2.5. My questions are: 1) cmake --help does not explain how '--enable-python' should be = specified. Shall I type in 'cmake --enable-python .'? 2) Will PLplot work with Python2.5 on a 64bit linux (AMD64x2)? 3) Can user switch between 2 python versions without redoing cmake? Thank you for your help. Tune Kamae SLAC Stanford university=20 |
From: Alan W. I. <ir...@be...> - 2007-01-30 17:13:53
|
The reason why I am bringing this libLASi news to the plplot-general list, is that -dev psttf, one of our premier devices, depends on libLASi so many of us have a vested interest in what is going on with libLASi. In fact, Ed Trager has invited a number of PLplot developers to be developers for libLASi, and we have made a lot of progress with that library recently. We have established the project at SourceForge (sf.net/projects/lasi), made a new CMake build system which allows libLASi to be built on both Unix/Linux and windows, and consolidated the two code bases (one for FreeType versions below 2.2 and the other for 2.2+) into one code base where the API change from FreeType 2.1 to 2.2 is automatically configured by CMake without the user having to worry about it. The new version in the subversion repository at SourcForge passes build tests for the small number of windows and Linux systems accessible to us so it is time to broaden our testing before we make a libLASi release. If you would like to help with this testing process, here is how to test the latest libLASi version from svn. (1) Install the prerequisite pango development libraries. On Linux this is straightforward (e.g., "apt-get install libpango1.0-dev" on Debian stable), but substantially more complicated on windows, see comments by Werner Smekal at http://sourceforge.net/mailarchive/forum.php?thread_id=31481797&forum_id=2199. (2) Check out the code from our SF svn repository using svn checkout https://lasi.svn.sourceforge.net/svnroot/lasi/trunk lasi where lasi is a non-existent or empty directory. (3) Configure libLASi as follows with the cmake command: mkdir build_dir cd build_dir cmake -DCMAKE_INSTALL_PREFIX=$lasi_prefix -DCMAKE_VERBOSE_MAKEFILE=ON ../lasi >& cmake.out where $lasi_prefix is the libLASi installation prefix you have decided to use. Check cmake.out for any problems. N.B. cmake-2.4.5 is the minimum version of cmake that you can use to configure libLASi. (4) Build and install with make >& make.out make install >& make_install.out Check the *.out files for any errors or problems. (5) Configure PLplot with its CMake build system using export PKG_CONFIG_PATH=$lasi_prefix/lib/pkgconfig _before_ the cmake command to help the PLplot CMake build system find the new libLASi that was installed above. For other details about how to use cmake to configure PLplot see http://www.miscdebris.net/plplot_wiki/index.php?title=Main_Page. N.B. cmake-2.4.5 is the minimum version of cmake that you can use to configure PLplot. (6) build, install, and test build-tree examples (ctest now includes -dev psttc) from PLplot as usual. Good luck with your PLplot (via -dev psttfc) testing of the new libLASi and let us know of any problems. Please be sure to include your platform details in your report. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2007-01-28 16:53:28
|
On 2007-01-27 10:24-0500 Mark Wilson wrote: > > Hello, > > We need to update a graph at about a 5Hz rate, and the > plplot canvas doesn't seem able to keep up with that > (takes 200 to 300 ms to update graph). I'm wondering if > this is something to be expected, or if we're doing > something wrong (I don't expect anyone to tell me what I > may or may not be doing wrong, I'm just looking for > general info on performance). What computer language interface and PLplot device are you using? If you need efficiency, then use the C interface directly. Some of our other compiled interfaces (f77, f95, C++, Java) are pretty efficient as well, but our scripting language interfaces (Python/Numeric, Perl/PDL, Tcl), although great for quick prototyping, are noticeably slower if that is a concern as in your case. Also, your efficiency will depend on which device you are using. Some (e.g., -dev psc) are extremely fast because they do not depend on any external libraries, while others are slower (e.g., -dev psttfc) because they use external libraries to produce really nice looking results which takes extra time. Also, you mentioned a canvas which I believe narrows down the device you are currently using to one of the GUI device choices such as -dev tk, -dev wxwidgets, or -dev gcw. Such interactive GUI devices are much slower in general than file devices. Do you need that GUI capability? If all you are doing is making a movie with no interaction by the user, than I have heard of one PLplot application (I cannot recall the details) that combined -dev gif (or possibly -dev jpeg?) results together to make a movie. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: Alan W. I. <ir...@be...> - 2007-01-27 16:54:28
|
On 2007-01-27 20:09+0800 Valery Pipin wrote: > All python scripts from share/examples works fine. > But they are designed to run interactively. > Everything is ok in this way. > However they do not understand comand line options. If the installed python scripts do not understand command-line options then something is not being done correctly with your install. Just to give a concrete example, do you get results from (the installed version) of either of the following commands: python/x01 -h or python python/x01 -h ? For me, this -h command-line option results in a display of help concerning all command-line options. Note, the menu prompting for device should _not_ appear. Similarly, I get good results from, e.g., python/x01 -dev psttfc -o test.ps or (to return to the original topic) python/x01 -dev psttfc -o test.ps -portrait For both these commands, the menu for selecting the device does not appear, and the command just works with no further interaction since it has everything it needs from the command-line options. This is how all the installed examples should work. For example, after building the installed examples with the "make" command (of course, this build is not required for the python examples above), then you should be able to run c/x01c -h c/x01c -dev psttfc -o test.ps c/x01c -dev psttfc -o test.ps -portrait etc. There is something severely wrong with your PLplot install if some/all of the above does not work properly for you. Alan __________________________ Alan W. Irwin Astronomical research affiliation with Department of Physics and Astronomy, University of Victoria (astrowww.phys.uvic.ca). Programming affiliations with the FreeEOS equation-of-state implementation for stellar interiors (freeeos.sf.net); PLplot scientific plotting software package (plplot.org); the Yorick front-end to PLplot (yplot.sf.net); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ |
From: <sm...@mi...> - 2007-01-27 16:50:25
|
Hi Mark, you don`t write which driver and which operating system you use, but assuming that you use Linux the fastest available driver is surely the xwin driver. I would expect that depending on the complexity of the graph xwin should make it below 200ms. If not - which graphic card do you use and which driver - e.g. the closed source xorg driver of NVidia for NVidia cards provide hardware acceleration for 2D, which makes the 2d output much faster. You could make the graph smaller in size or try to make it as easy as possible (no title and labels). And have you looked at the stripchart example (x17 I think)? Do you compile your program with maximum optimization (-O3), if you use C= ? You could also use a profiler to see if it is really plplot which is that slow - maybe you are doing a lot of memory allocations which are the real problem. Maybe you're plotting more points which are visible anyway (2048 datapoints on a 800 pixel wide graph) - than it would maybe better to interpolate before. Without knowing more details, I can't give you more than some common hint= s. HTH, Werner > > Hello, > > We need to update a graph at about a 5Hz rate, and the > plplot canvas doesn't seem able to keep up with that > (takes 200 to 300 ms to update graph). I'm wondering if > this is something to be expected, or if we're doing > something wrong (I don't expect anyone to tell me what I > may or may not be doing wrong, I'm just looking for > general info on performance). > > Thanks, > Mark > > -----------------------------------------------------------------------= -- > Take Surveys. Earn Cash. Influence the Future of IT > Join SourceForge.net's Techsay panel and you'll get the chance to share > your > opinions on IT & business topics through brief surveys - and earn cash > http://www.techsay.com/default.php?page=3Djoin.php&p=3Dsourceforge&CID=3D= DEVDEV > _______________________________________________ > Plplot-general mailing list > Plp...@li... > https://lists.sourceforge.net/lists/listinfo/plplot-general > |
From: Mark W. <mw...@ll...> - 2007-01-27 15:24:10
|
Hello, We need to update a graph at about a 5Hz rate, and the plplot canvas doesn't seem able to keep up with that (takes 200 to 300 ms to update graph). I'm wondering if this is something to be expected, or if we're doing something wrong (I don't expect anyone to tell me what I may or may not be doing wrong, I'm just looking for general info on performance). Thanks, Mark |
From: Valery P. <pi...@is...> - 2007-01-27 12:09:44
|
> > Yes, once PLplot is installed, and you let python know where the PLplot > python modules are installed, that is the correct way to call a python > script with PLplot command-line options. But first things first; get > the PLplot install working (see previous e-mail) before worrying about > this. All python scripts from share/examples works fine. But they are designed to run interactively. Everything is ok in this way. However they do not understand comand line options. Ok I'll try it on Ubuntu Feisty and say it is there > > > another question was > > how to get \mathcal{E} with pstff driver > > I can highly recommend the gucharmap application which allows you to look > at all unicode blocks and how your installed system fonts look for those > blocks. For example, I have the cmsy10 TrueType font (which is a TrueType > representation of the Latex math symbol fonts) installed on my system, and > indeed when I switch to viewing that with gucharmap it looks like the > calligraphic version of characters are in the normal latin alphabet places. > So if you render an upper case E with the cmsy10 TrueType font, it appears > you will get what you want. First, make sure the cmsy10 TrueType font is > installed on your system. they are in latex-ttf package > After that take the following PLplot steps: (a) > specify the TrueType font cmsy10 as one of the 30 fonts that can be > described by an FCI; (b) embed that FCI (Font Characterization Integer) in > your string to change to that font; (c) follow that FCI in the string with > an "E"; and (d) follow that "E" with another FCI to change back to your > original string font. See > http://plplot.sourceforge.net/docbook-manual/plplot-html-5.7.2/characters.h >tml for details of how to do all these steps. Thanks for explanation! regards Valery |