|
From: Sergej S. <no...@ro...> - 2015-11-02 00:06:47
|
Hi! I use several variants of the time with different decimal parts of it. It works without problem. My code is below: --------------------------------------------------------------------------------------------------------- pladv( 0 ); /* Rescale major ticks marks by 0.5 */ plsmaj( 0.0, 1.5 ); /* Rescale minor ticks and error bar marks by 0.5 */ plsmin( 0.0, 0.7 ); plvsta(); plwind( xmin, xmax, ymin, ymax ); /* Draw a box with ticks spaced every 3 hour in X and 1 degree C in Y. */ plcol0( 1 ); /* Set time format */ //pltimefmt( "%Y-%m-%d %H" ); //pltimefmt( "%M:%S" ); //pltimefmt( "%m-%d %H" ); /////pltimefmt( "%d %H:%M" ); ////pltimefmt( "%M:%S" ); ////pltimefmt( "%m-%d %H %M:%S%1" ); pltimefmt( "%H %M:%S%1" ); //pltimefmt( "%d %H" ); //pltimefmt( "%H:%M" ); //pltimefmt( "%Y-%m-%d" ); //pltimefmt( "%m-%d" ); plbox( "bcnstd", 0.5 , 10.0, "bcnstv", ymax, 10.0 ); //plbox( "bcnstd", 1, 1, "bcnstv", 1, 1 ); plcol0( 1 ); pllab( titleX, titleY, title ); plcol0( 4 ); //- color 03 plline( NumInpData, FloatDate, FloatData ); Regards, Sergey. |