Re: [Plplot-general] plotting date time axis

2016-12-22 Thread Pedro Vicente
c: Sent: Monday, December 19, 2016 2:41 AM Subject: Re: [Plplot-general] plotting date time axis > On 2016-12-19 01:32-0500 Pedro Vicente wrote: > >> for (int idx_orb = 0; idx_orb < NSIZE; idx_orb++) >> { >> x[idx_orb] = tstart + tinterval; >> } > > I think the a

Re: [Plplot-general] plotting date time axis

2016-12-18 Thread Alan W. Irwin
On 2016-12-19 01:32-0500 Pedro Vicente wrote: > for (int idx_orb = 0; idx_orb < NSIZE; idx_orb++) > { > x[idx_orb] = tstart + tinterval; > } I think the above loop is the source of the trouble because it assigns the same value to all elements of x. That is, tinterval has to be multiplied by i.

[Plplot-general] plotting date time axis

2016-12-18 Thread Pedro Vicente
Hi all I am trying to do a plot where the X axis has a date format. I'm following the example x29.cc , but I am having some trouble figuring it out this is my code this example plots 19 points, between these 2 dates pls->ctime(2016, 5, 30, 0, 0, 0, tstart); pls->ctime(2016, 6, 1, 0, 0, 0, t