Re: [Plplot-devel] Plotting time axes

2007-12-03 Thread Andrew Ross
Following some useful discussion on the list, I have now implemented a first go at this new functionality. As I originally suggested, I have added a new API function pltimefmt which specifies the format to use. This uses the C library strftime to do the actual work, so any formats supported by

Re: [Plplot-devel] Plotting time axes

2007-11-24 Thread Andrew Roach
At 11:47 AM 23/11/2007 -0800, you wrote: The C library internal representation of time as a time_t variable does have the well-known drawback you mentioned of a rather limited date range for those systems where time_t is defined as a 32-bit integer, see discussion in

Re: [Plplot-devel] Plotting time axes

2007-11-23 Thread Andrew Ross
On Fri, Nov 23, 2007 at 10:24:18AM +0100, Arjen Markus wrote: Alan W. Irwin wrote: I was interested enough so I googled for strftime. strftime appears to be a comprehensive time formatting routine that would be a good to use. There is even a poor man's version that you could use from

Re: [Plplot-devel] Plotting time axes

2007-11-23 Thread Arjen Markus
Alan W. Irwin wrote: On 2007-11-22 19:18- Andrew Ross wrote: For some time I've been pondering ways of plotting up time series over days / months. Many plotting packages (e.g. gnuplot) provide special options for time series so you can format the axis labels in a human dd/mm type

[Plplot-devel] Plotting time axes

2007-11-22 Thread Andrew Ross
For some time I've been pondering ways of plotting up time series over days / months. Many plotting packages (e.g. gnuplot) provide special options for time series so you can format the axis labels in a human dd/mm type format for example. Plplot currently has no such facility. This has been

Re: [Plplot-devel] Plotting time axes

2007-11-22 Thread Alan W. Irwin
On 2007-11-22 19:18- Andrew Ross wrote: For some time I've been pondering ways of plotting up time series over days / months. Many plotting packages (e.g. gnuplot) provide special options for time series so you can format the axis labels in a human dd/mm type format for example. Plplot