|
From: <ai...@us...> - 2011-07-11 22:03:21
|
Revision: 11806
http://plplot.svn.sourceforge.net/plplot/?rev=11806&view=rev
Author: airwin
Date: 2011-07-11 22:03:15 +0000 (Mon, 11 Jul 2011)
Log Message:
-----------
Use negative numbers in range to make sure bounding-box calculation is
still good for that. (It was.)
Modified Paths:
--------------
trunk/examples/c/x33c.c
Modified: trunk/examples/c/x33c.c
===================================================================
--- trunk/examples/c/x33c.c 2011-07-11 21:33:12 UTC (rev 11805)
+++ trunk/examples/c/x33c.c 2011-07-11 22:03:15 UTC (rev 11806)
@@ -845,13 +845,13 @@
if ( colorbar )
{
+ // Color bar examples
+ PLFLT values_small[2] = { -1.0e-200, 1.0e-200 };
+ PLFLT values_uneven[9] = { -1.0e-200, 2.0e-200, 2.6e-200, 3.4e-200, 6.0e-200, 7.0e-200, 8.0e-200, 9.0e-200, 10.0e-200 };
+ PLFLT values_even[9] = { -2.0e-200, -1.0e-200, 0.0e-200, 1.0e-200, 2.0e-200, 3.0e-200, 4.0e-200, 5.0e-200, 6.0e-200 };
+
// Use unsaturated green background colour to contrast with black caps.
plscolbg( 70, 185, 70 );
- // Color bar examples
- PLFLT values_small[2] = { 0.0e-200, 1.0e-200 };
- PLFLT values_uneven[9] = { 0.0e-200, 2.0e-200, 2.6e-200, 3.4e-200, 6.0e-200, 7.0e-200, 8.0e-200, 9.0e-200, 10.0e-200 };
- PLFLT values_even[9] = { 0.0e-200, 1.0e-200, 2.0e-200, 3.0e-200, 4.0e-200, 5.0e-200, 6.0e-200, 7.0e-200, 8.0e-200 };
-
// Cut out the greatest and smallest bits of the color spectrum to
// leave colors for the end caps.
plscmap1_range( 0.01, 0.99 );
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|