Hi Ziga, > > That would in effect mean, I could compile a plplot.dll and package it > with wxMaxima.exe, similarly plplot.dylib in wxMaxima.app on Mac and > it would work without hassle for the end user, right? > wxMaxima needs to stay a 'download-and-run' application, at least for > Windows and Mac users, who might not know how to compile and install a > library. Right. > >> You don't need qt, only for the qt drivers. Antialiased drawing is >> possible with the wxGraphicsContext backend available for wxWidgets >> 2.8.x. I plan to add support saving to png files using wxWidgets >> directly. In fact it's already in the code, but not really enabled, >> since I'm still thinking of providing a wxpng, wxtiff, etc. devices >> explicitely. This is work in progress and finished soon. the svg >> driver doesn't need a library and the pdf driver depends on the haru >> library. While the png output would be exactly the same as what you >> see with the wxWidgets driver, the pdf output might be a little bit >> different. > > Great, I thought so! I like the fact that wxGC takes care of cross > platform drawing (GDI+, CoreGraphics, cairo) and at least to some > degree delivers the same result on all three praltforms. > > About PDF files - using libharu would of course mean that the output > would be different than the plot looks in the wxWidgets application. > Do you think, using something like > http://wxcode.sourceforge.net/components/wxpdfdoc/ > would produce the same result as viewed from the application? Is it > featurefull enough even for plplot drawings? I think it is and since wxpdfdoc even provides unicode support it would be even better. I forgot about this project. It wouldn't be even hard to write such a device, especially after I solved all the problems with the wxpng, etc. devices. But it seems that wxpdfdoc is kind of abandoned. I'm always reluctant to develop something using a library which is abondoned. Sadly, libharu is also not very active any more. > >> wxWidgets is slower, but not extremely slower. AFAIR from my tests, >> about 3 times slower, but this also includes the start of the >> application which should not be added to the plotting time. Anyway, I >> use plplot in my application and resize is very fast if it's a line >> plot. A 3d-surface plot with many points will not behave like that >> very likely - so it depends on the plot. Cairo, QT will not be >> faster. In fact wxWidgets on Linux uses cairo for the >> wxGraphicsbackend, while wxWidgets on Mac uses carbon or the newer >> Graphics API directly, so it should be as close to the speed you >> would get with a native Mac driver. > > I had an idea, that while rotating or resizing, I would draw only the > axes (box) of the graph, not the surface/lines - to make > resizing/rotating smooth while perserving some visal guidance, how the > plot will look like. With your experience with plplot - would that work? Sure. Keep in mind, that PLplot doesn't provide any rotating or zooming features. So in fact (this is what I do in my application) you are responsible for "remembering" all plot commands. If you zoom or rotate you need to "replot" the Plot yourself telling PLplot to plot a new Plot (with different axis, etc.). Therefore it's easy only to show the axis, since this is what you tell PLplot to draw. You could also e.g. decrease the number of plotted points while rotating so that you about see what the plot would look like but it would be fast. > >> Still the wxWidgets driver can be optimized for speed, but this was >> not my main task in the past, since it was fast enough for me. >> >> Regards, >> Werner > > > It's very nice to find such a complete open source plotting library > AND it's being still actively developed. Most plotting libraries are > kind of half done and abandoned, so I'm grateful for all the effort of > plplot developers to countine developing/improving it. > > Regards, > Ziga > Thanks. Regards, Werner
-- Dr. Werner Smekal Institut fuer Allgemeine Physik Technische Universitaet Wien Wiedner Hauptstr 8-10 A-1040 Wien Austria DVR-Nr: 0005886 email: sme...@iap.tuwien.ac.at 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 ------------------------------------------------------------------------------ Crystal Reports - New Free Runtime and 30 Day Trial Check out the new simplified licensing option that enables unlimited royalty-free distribution of the report engine for externally facing server and web deployment. http://p.sf.net/sfu/businessobjects _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general