On Nov 12, 2006, at 9:45 PM, Alan W. Irwin wrote: >> If you choose to play with it, you should be aware of the following >> issues: >> (1) If the plot is at all >> complicated then you might find rendering to be painfully slow. [...] > > I confirm that on my 2.4GHz Linux box. It takes about 1 second to > render > example 1 (which is not too bad) and about 20 seconds (moderately > bad) to > render the first page of example 8 using the "display" application > that is > part of the suite of applications that come with the ImageMagick > software > package. OTOH, the antialiased plotting lines look outstanding. I > recall > that our other device driver with antialiased plotting lines on Linux, > wxwidgets, used to be slow. However, some changes Werner did greatly
I tried different anti-aliasing settings but they did not seem to make much difference to me (using the Firefox browser to display the plots). I believe the SVG specification says that these settings are only recommendations which the display program is free to ignore. > Other issues I noticed were the horizontal placement of exponents > in example > 1 and something screwball with the 3D transformation of the axis > labels in The exponents are too high? That is pretty easy to fix since I had to specify their relative placement. I'll have a look at the labels in example 8. I admit that I was not brave enough / patient enough to actually see how that example rendered. > example 8. Also, I could not get the -fam option to work so all I > saw from > example 8 was the first page. (The PLplot familying option > generates a > separate file for each page. Familying is well implemented for the > gd-related devices if you want a template of how to do it. See also, > http://plplot.sourceforge.net/docbook-manual/plplot-html-5.6.1/ > output-devices.html#familying > OTOH, if the SVG standard allows multiple pages per file, then you > should > implement that standard and avoid familying.) The generated svg file actually contains all of the graphs. If you open it you should see: <document> <svg ..> .. graph1 .. </svg> <svg> .. graph2 .. </svg> ... </document> And I see all the pages in Firefox, though some of the later pages are not displayed accurately. For example, the second page in example 2 only has the boxes and no text, even though the XML is there for the text. I'm not really sure what the correct tags are for multi- page svg documents, but I think that svg is typically used only for single page documents anyway. > Finally, I used the http://jiggles.w3.org/svgvalidator/ > ValidatorUpload.html > SVG validator, and it reported a minor validation > issue with the constant version number you have specified. This issue > disappears if you remove the > > version="1.1" Interesting. I copied that right out of an example on the specification website. -Hazen ------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642 _______________________________________________ Plplot-devel mailing list Plplot-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-devel