From: <jb...@us...> - 2008-08-17 00:25:31
|
Revision: 8668 http://plplot.svn.sourceforge.net/plplot/?rev=8668&view=rev Author: jbauck Date: 2008-08-17 00:25:41 +0000 (Sun, 17 Aug 2008) Log Message: ----------- Repair Ada examples x29a.adb and xthick29a.adb to once again make Postscript identical to C example. Modified Paths: -------------- trunk/examples/ada/x29a.adb.cmake trunk/examples/ada/xthick29a.adb.cmake Modified: trunk/examples/ada/x29a.adb.cmake =================================================================== --- trunk/examples/ada/x29a.adb.cmake 2008-08-16 23:48:18 UTC (rev 8667) +++ trunk/examples/ada/x29a.adb.cmake 2008-08-17 00:25:41 UTC (rev 8668) @@ -134,7 +134,8 @@ begin -- Find the number of seconds since January 1, 1970 to December 1, 2005. -- Should be 1_133_395_200.0. - xmin := Long_Float(Time_Of(2005, 12, 1, 0.0) - Time_Of(1970, 1, 1, 0.0)); + -- NOTE: The beginning time is now set to Jan 01, 1970 to match C output. + xmin := Long_Float(Time_Of(1970, 1, 1, 0.0) - Time_Of(1970, 1, 1, 0.0)); xmax := xmin + Long_Float(x'length) * 60.0 * 60.0 * 24.0; ymin := 0.0; Modified: trunk/examples/ada/xthick29a.adb.cmake =================================================================== --- trunk/examples/ada/xthick29a.adb.cmake 2008-08-16 23:48:18 UTC (rev 8667) +++ trunk/examples/ada/xthick29a.adb.cmake 2008-08-17 00:25:41 UTC (rev 8668) @@ -121,7 +121,8 @@ begin -- Find the number of seconds since January 1, 1970 to December 1, 2005. -- Should be 1_133_395_200.0. - xmin := Long_Float(Time_Of(2005, 12, 1, 0.0) - Time_Of(1970, 1, 1, 0.0)); + -- NOTE: The beginning time is now set to Jan 01, 1970 to match C output. + xmin := Long_Float(Time_Of(1970, 1, 1, 0.0) - Time_Of(1970, 1, 1, 0.0)); xmax := xmin + Long_Float(x'length) * 60.0 * 60.0 * 24.0; ymin := 0.0; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |