> 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.
yes, that was it, thanks ----- Original Message ----- From: "Alan W. Irwin" <ir...@beluga.phys.uvic.ca> To: "Pedro Vicente" <pedro.vice...@space-research.org> Cc: <plplot-general@lists.sourceforge.net> 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 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. > > 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); the Time > Ephemerides project (timeephem.sf.net); PLplot scientific plotting > software package (plplot.sf.net); 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 > __________________________ > ------------------------------------------------------------------------------ Developer Access Program for Intel Xeon Phi Processors Access to Intel Xeon Phi processor-based developer platforms. With one year of Intel Parallel Studio XE. Training and support from Colfax. Order your platform today.http://sdm.link/intel _______________________________________________ Plplot-general mailing list Plplot-general@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/plplot-general