On 2009-06-16 16:21+0100 MaaTt wrote: > Dear all, > > I am totally new to plplot, so any advice is greatly appreciated. > Thank you all in advance (even reading the below) > > In brief, I am wondering if anyone can help me out by telling me > - why clearWidget crashes after pljoin is called; > - what plclear actually does; > - how I can update a plot without performing a redraw (it has to be > cross-platform so pl_canvas_use_persistence will not help) > .. and any suggestions as to how I should do real-time plots will be > greatly appreciated! > > Here is the specs of the systems I work with: > - CentOS 5.3, KDE, GCC, C++, QT 4.3.5, Plplot 5.9.4 > - XP Prof SP2, MinGW 3.4.5, C++, QT 4.5.0, Plplot 5.9.4 > - Vista Business, MinGW 3.4.5, C++, QT 4.5.0, Plplot 5.9.4
Hi Matt: I understand from our off-list discussions that there is some problem with using the downloadable Qt4.5.1 for CentOS. However, I suggest you try to work around that issue if at all possible since our experience is old versions of Qt4 are problematic (in other ways then you have mentioned). Therefore, we don't test old versions of Qt much if at all, and our support for old versions of Qt is essentially non-existent. If you can get Qt4.5.1 installed on CentOS, then you may find the Windows/CentOS differences in behaviour that you have observed simply go away. Also note that our qt device is new technology, and it has been tested very little by our core developers that have access to Windows. (It also doesn't help that one of our most active Windows developers has limited disk space on his windows box so he currently doesn't have room to install the large Qt download.) So if you can remove the windows/CentOS differences as suggested above, then any issues that you still find on CentOS (Linux) should be much easier for our Linux developers to replicate and fix. There is a good chance that any Linux fix we come up with propagate without issues to the Windows build of PLplot. In other words, we expect agreement between Linux and Windows results if you use a similar Qt version. Note, cmake finds out all information about Qt by using qmake so if you put the downloadable qmake first in your path before you run cmake, you will get the downloadable qt (as opposed to your old system version) used consistently throughout the PLplot build. To move to your further question about using PLplot in an interactive way, you might want to take a look at our standard example 17. I just did that for the installed c++ examples, and I notice quite different results between ./x17 -dev xcairo ./x17 -dev xwin ./x17 -dev qtwidget The first two are truly interactive giving plots of the unfolding time series with varying scales, etc. The last just gives the end result with none of the expected intermediate results. So the interactive aspects of -dev qtwidget (and most likely also extqt) need some further work. 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 libLASi project (unifont.org/lasi); the Loads of Linux Links project (loll.sf.net); and the Linux Brochure Project (lbproject.sf.net). __________________________ Linux-powered Science __________________________ ------------------------------------------------------------------------------ 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