Re: [Plplot-devel] plexit unkind to user application

2011-11-04 Thread Steve Schwartz
On Thu, 2011-11-03 at 21:12 +, Andrew Ross wrote: + Public API. Replace plexit with plwarn and continue with the plot when that is possible or do a quick return otherwise. If our interactive users get a plwarn message when they make a mistake, and in addition

Re: [Plplot-devel] plexit unkind to user application

2011-11-02 Thread Steve Schwartz
Hazen, On Tue, 2011-11-01 at 22:28 -0400, Hazen Babcock wrote: Check if there is an exit_handler If so, pass control to it and on return execute a simple return Having thought a bit more, I can see that this would be pointless. Having plexit return to the plplot module that called it can't

[Plplot-devel] plexit unkind to user application

2011-11-01 Thread Steve Schwartz
Dear All, Is there a good reason why plexit must force a program abort even if the programmer has written their own exit_handler? For simple user-written code I guess this isn't too much of a problem, but for anything that is distributed or given to a third party, having an application crash is

Re: [Plplot-devel] Tutorial build system

2011-10-27 Thread Steve Schwartz
On Thu, 2011-10-27 at 02:19 -0700, Alan W. Irwin wrote: I agree another good point that Steve made (i.e., we need a simple example of a CMake-based method of building one PLplot example against an installed version of PLplot) has not been addressed yet. Of course, in some/most/all except

Re: [Plplot-devel] Visual Studio C++ Build - LINK fatal error

2011-10-26 Thread Steve Schwartz
, drivers, etc. machinery. Once this is working for a user, the rest is easy. And, of course, such a user could use the same machinery with any of the other xnn example source code and hack them to do more sophisicated things. Best wishes, Steve On Wed, 2011-10-26 at 01:11 +0100, Steve Schwartz wrote

Re: [Plplot-devel] Visual Studio C++ Build - LINK fatal error

2011-10-25 Thread Steve Schwartz
Alan/Arjen, On Mon, 2011-10-24 at 17:04 -0700, Alan W. Irwin wrote: Good luck, and let us know how it goes. Thanks. I've succeeded. I * reinstalled cmake in C:\programs [a folder with no white-spaces] * put plplot likewise in C:\programs * followed Alan's advice for the order of arguments to

Re: [Plplot-devel] Visual Studio C++ Build - LINK fatal error

2011-10-25 Thread Steve Schwartz
Dear All On Tue, 2011-10-25 at 14:49 +0200, Arjen Markus wrote: good to hear that - if you find out what caused the trouble in the first place, let us know. Don't know, but I think some combination of white spaces in path names (although CMake install itself in a folder CMake 2.8 and works

[Plplot-devel] Visual Studio C++ Build - LINK fatal error

2011-10-24 Thread Steve Schwartz
For those who recognise this, here's my problem: LINK : fatal error LNK1146: no argument specified with option '/machine:' - Sorry for a slightly random posting, but I've recommended plplot to a couple of students doing a project under me, and they've hit a snag trying to install

Re: [Plplot-devel] Line style choices

2011-07-03 Thread Steve Schwartz
Alan, On Fri, 2011-07-01 at 18:11 -0700, Alan W. Irwin wrote: The attached plot (generated using test_style.py and -dev pngqt) shows both the new and old patterns. Out of curiosity, I checked to see what we do in qsas. We roll our own linestyles using plstyl to offer our users 5 linestyles:

[Plplot-devel] plarc bug fix

2010-07-16 Thread Steve Schwartz
Hi Hez, I've found a couple of bugs in your plarc routine which I've also fixed, but since this is your code I'll leave you to look over it and commit as/when necessary. There were 3 bugs in your plarc_approx routine. Looking through the devices, it seems that with the exception of the cairo

Re: [Plplot-devel] plarc bug fix

2010-07-16 Thread Steve Schwartz
On Fri, 2010-07-16 at 15:53 +0100, Steve Schwartz wrote: Hi Hez, PS: plarc is missing from the online api documentation -- +---+ Professor Steven J SchwartzPhone: +44-(0)20-7594-7660 Head, Space Atmospheric Physics Fax

Re: [Plplot-devel] Unicode symbol 17 Filled Circle

2010-06-30 Thread Steve Schwartz
. Irwin wrote: On 2010-06-29 20:38+0100 Steve Schwartz wrote: Is is just me, or have others noticed that plot symbol 17, which is supposed to be a filled circle, is a small square using the unicode-based drivers (at least qt and cairo which are the ones I have) but are stroke-filled

[Plplot-devel] Unicode symbol 17 Filled Circle

2010-06-29 Thread Steve Schwartz
Is is just me, or have others noticed that plot symbol 17, which is supposed to be a filled circle, is a small square using the unicode-based drivers (at least qt and cairo which are the ones I have) but are stroke-filled circles using Hershey drivers (xwin, tk, etc. including setting

Re: [Plplot-devel] Slow symbol rendering on some devices

2010-06-06 Thread Steve Schwartz
, operating systems, and drivers. Regards, Steve On Sat, 2010-06-05 at 23:39 +0100, Alan W. Irwin wrote: Hi Steve: On 2010-06-05 20:01+0100 Steve Schwartz wrote: Hi Werner, On Thu, 2010-06-03 at 20:12 +0100, Werner Smekal wrote: For so much symbols I would suggest to use the hershey

Re: [Plplot-devel] Slow symbol rendering on some devices

2010-06-05 Thread Steve Schwartz
Hi Werner, On Thu, 2010-06-03 at 20:12 +0100, Werner Smekal wrote: For so much symbols I would suggest to use the hershey fonts for symbols with pls-dev_hrshsym = 1; text will be drawn still nicely. But I'm sure qtwidget should be as fast as xcairo or close to, so if the 7.5 second are

[Plplot-devel] Slow symbol rendering on some devices

2010-06-03 Thread Steve Schwartz
We've hit some timing problems, so I ran some experiments using a trimmed and modified version of x01c that just plots the first graph, full size window, with plpoin but with variable numbers of points; I used code=25, circles, but I think it doesn't make much difference apart from plotting simple

[Plplot-devel] New Delivery

2009-09-25 Thread Steve Schwartz
Those of you pleased with Alban Rochel's delivery of the qt drivers may be pleased to learn that his partner, not to be outdone, delivered their first child, a boy they've named Lois (it's French) on Wednesday. All three are doing well I'm told. If Alban's indentation style goes a little (more)

Re: [Plplot-devel] windows binaries and/or installer

2009-07-25 Thread Steve Schwartz
I think I saw a comment under this thread that shipping the Qt libraries to make a self-contained windows installation would be excessively large (350 MB from my memory). This probably is far more than is necessary simply to use the qt devices. We ship binaries of our QSAS application for windows

Re: [Plplot-devel] windows binaries and/or installer

2009-07-25 Thread Steve Schwartz
Hi Alan, Here are the sizes of those four libraries (as given by ls -lh). -rwxr-xr-x 1 software software 20M 2009-04-23 09:34 libQtCore.so.4.5.1 -rwxr-xr-x 1 software software 95M 2009-04-23 09:34 libQtGui.so.4.5.1 -rwxr-xr-x 1 software software 3.9M 2009-04-23 09:34 libQtSvg.so.4.5.1

Re: [Plplot-devel] Writing an application with plplot

2009-06-17 Thread Steve Schwartz
Dmitri, QSAS ( http://www.sp.ph.ic.ac.uk/csc-web/QSAS ) will do nearly everything you describe, although it may be an overkill for you in some respects. It is also open source so that if you wanted to add some features you could (in principle). While it's targeted at time-series data, it also

Re: [Plplot-devel] control position of floating point label

2009-04-26 Thread Steve Schwartz
Dear Hazen, It would appear that the position and orientation of this x10^nn labelling is not under user programmer control. It would be nice to be able to control this or, perhaps better, have the option to suppress it altogether but access the resulting string (or exponent) so that we

Re: [Plplot-devel] control position of floating point label

2009-04-26 Thread Steve Schwartz
Hi Alan, On Sun, 2009-04-26 at 23:39 +0100, Alan W. Irwin wrote: On 2009-04-26 21:43+0100 Steve Schwartz wrote: I'm not at all complaining about your suggestion. Indeed, the reason for my posting is because I had already thought about a do-it-ourselves approach and therefore wondered

Re: [Plplot-devel] using plplot for interactive financial graphs?

2009-02-04 Thread Steve Schwartz
Google do something like this; see http://finance.google.co.uk/finance?client=obq=NASDAQ:GOOG but it looks like there really isn't that much data, so it's mostly zooming in and out; but it's still very effective. Our time series software package, QSAS, also does interactive zooming, selection,

Re: [Plplot-devel] time

2009-02-01 Thread Steve Schwartz
Alan, On Fri, 2009-01-30 at 10:52 -0800, Alan W. Irwin wrote: On behalf of the PLplot developers, I thank the QSAS team for their donation. Thanks for this. I see it more as a contribution in return for our use of plplot, which has opened up or facilitated a variety of advancements of our own

Re: [Plplot-devel] This may be a good time for a PLplot release

2008-11-20 Thread Steve Schwartz
I would agree with this strategy from the project's perspective. That is, if I were in your shoes, it's what I would do. Cheers Steve On Wed, 2008-11-19 at 15:57 -0800, Alan W. Irwin wrote: The implementation of the three functions has been delayed according to what Steve said above. A

Re: [Plplot-devel] This may be a good time for a PLplot release

2008-11-19 Thread Steve Schwartz
Andrew/Alan, On Wed, 2008-11-19 at 10:02 +, Andrew Ross wrote: One other thing it would be nice to finalise before a release is what we are going to do with the date / time handling. I know there was a lot of discussion about this but we never came to a firm conclusion. If it doesn't

Re: [Plplot-devel] Status of the svg device driver

2008-10-16 Thread Steve Schwartz
superscripts raised and shrunk. I've reported this back to them for further comments. Anyway, generically this is good news and adds scribus to inkscape as an svg editor for plplot touch-ups... Steve On Wed, 2008-10-15 at 15:42 +0100, Steve Schwartz wrote: Hi Alan, On Tue, 2008-10-14 at 09:41 -0700

Re: [Plplot-devel] Status of the svg device driver

2008-10-07 Thread Steve Schwartz
Arjen, On Tue, 2008-10-07 at 14:54 +0200, Arjen Markus wrote: Can you indicate the difference with the ordinary ps driver? (Or would that give a completely different file?) For sure it would give a completely different file, just as the pscairo and ps drivers within plplot give very different

Re: [Plplot-devel] Status of the svg device driver

2008-10-06 Thread Steve Schwartz
Hi Arjen, On Mon, 2008-10-06 at 12:51 +0200, Arjen Markus wrote: I have expressed myself somewhat inaccurately: the command by which I send the PostScript files to the printer is simply lp. The printer driver that then gets invoked will do all manner of things to get the file printed, but

Re: [Plplot-devel] Status of the svg device driver

2008-10-06 Thread Steve Schwartz
On Mon, 2008-10-06 at 13:48 +0200, Arjen Markus wrote: I do not know if this will be a disappointment for you, but when I printed via the humble lp command on an OCE printer we have here, it comes out just fine. I am not sure about the margins (some of my colleagues are rather keen on getting

Re: [Plplot-devel] Status of the svg device driver

2008-10-05 Thread Steve Schwartz
I've been experimenting with the svg driver (using svn 8854). Here are some observations: inkscape will now open the svg generated from x01c, though all the labels and text show up displaced to the left. But it renders fine in firefox, konqueror, and virtually everything I've tried scribus (v

Re: [Plplot-devel] Status of the svg device driver

2008-10-05 Thread Steve Schwartz
On Sun, 2008-10-05 at 13:14 +0100, Steve Schwartz wrote: inkscape will now open the svg generated from x01c, though all the labels and text show up displaced to the left. And the plot symbols are also shifted! Actually, the plot symbols don't show up in Firefox 2.0, and show up

Re: [Plplot-devel] Status of the svg device driver

2008-10-01 Thread Steve Schwartz
Hi Alan, On Tue, 2008-09-30 at 08:03 -0700, Alan W. Irwin wrote: I fixed that bug last week when I started my svg effort. So I am very interested in your experiments, but please use the latest version of PLplot from svn trunk to access all the svg bug fixes I have been making. I know you

Re: [Plplot-devel] time

2008-09-07 Thread Steve Schwartz
Hi Alan, On Sat, 2008-09-06 at 13:22 -0700, Alan W. Irwin wrote: I suggest we specify our continuous time variable as a TT Julian day number Personally I think this is nearly as good, or bad, as any other choice because it will suit some people and confuse others. I would like to draw a

Re: [Plplot-devel] time

2008-09-02 Thread Steve Schwartz
Hello Alan, On Tue, 2008-09-02 at 12:18 -0700, Alan W. Irwin wrote: I think we should deal properly with leap seconds because of the problem you mentioned above and also the problem that our fundamental time variable would then have a strange relationship with externally defined time

Re: [Plplot-devel] driver comments and an offer [was cmake 2.6 fails to build plplot]

2008-08-07 Thread Steve Schwartz
Hi Alan, I attach ps files for x10 from ps, psc, and pscairo drivers. I don't have enough installed for psttf to build I think. ps and psc give the same behaviour - the printed page is blank (because it's the top left corner). The pscairo file prints ok. Running through eps2eps to clean it also

[Plplot-devel] cmake 2.6 fails to build plplot

2008-08-05 Thread Steve Schwartz
I have succeeded in building plplot on my Suse 10.2 system (the cmake rpm of which does not contain the Modules), but only by a hybrid hack of installing cmake 2.6 (I've tried both 2.6.0 binary and 2.6.1 built from source on my machine) and using those 2.6 Modules with the Suse-installed

[Plplot-devel] [Fwd: Re: patch re mktime]

2008-08-04 Thread Steve Schwartz
, this is not a priority for us :-) On Sun, 2008-08-03 at 10:27 -0700, Alan W. Irwin wrote: On 2008-08-03 15:56+0100 Steve Schwartz wrote: Dear Plplot-devel, I attach a patch that immunizes plplot from the peculiarities of C's mktime function, that arise because mktime requires input

[Plplot-devel] patch re mktime

2008-08-03 Thread Steve Schwartz
SW7 2BW, U.K. Web: http://www.sp.ph.ic.ac.uk/~sjs +---+ plplot-5.9.0.patch.gz Description: GNU Zip compressed data /* $Id: pldtik.c 8082 2007-12-12 15:44:17Z andrewross $ Modified 30 July 2008 by Steve Schwartz ([EMAIL