|
From: <ai...@us...> - 2011-05-02 00:59:12
|
Revision: 11742
http://plplot.svn.sourceforge.net/plplot/?rev=11742&view=rev
Author: airwin
Date: 2011-05-02 00:59:06 +0000 (Mon, 02 May 2011)
Log Message:
-----------
Move back to cmap1_blue_red.pal since that cmap1 shows interesting
abrupt changes for the end cap colours. Since one of those end cap
colours is black, change the background of the -colorbar pages to
an unsaturated green to contrast with that black colour.
Modified Paths:
--------------
trunk/examples/c/x33c.c
Modified: trunk/examples/c/x33c.c
===================================================================
--- trunk/examples/c/x33c.c 2011-05-01 20:08:03 UTC (rev 11741)
+++ trunk/examples/c/x33c.c 2011-05-02 00:59:06 UTC (rev 11742)
@@ -836,6 +836,8 @@
if ( colorbar )
{
+ // Use unsaturated green background colour to contrast with black caps.
+ plscolbg (70, 185, 70);
// Color bar examples
PLFLT values_small[2] = { 0.0, 1.0 };
PLFLT values_uneven[9] = { 0.0, 2.0, 2.6, 3.4, 6.0, 7.0, 8.0, 9.0, 10.0 };
@@ -848,16 +850,16 @@
// We can only test image and gradient colorbars with two element arrays
for ( i = 2; i < COLORBAR_KINDS; i ++ )
{
- plcolorbar_example( "cmap1_blue_red.pal", i, 0, 0, 2, values_small );
+ plcolorbar_example( "cmap1_blue_yellow.pal", i, 0, 0, 2, values_small );
}
// Test shade colorbars with larger arrays
for ( i = 0; i < 2; i++ )
{
- plcolorbar_example( "cmap1_blue_red.pal", i, 4, 2, 9, values_even );
+ plcolorbar_example( "cmap1_blue_yellow.pal", i, 4, 2, 9, values_even );
}
for ( i = 0; i < 2; i++ )
{
- plcolorbar_example( "cmap1_blue_red.pal", i, 0, 0, 9, values_uneven );
+ plcolorbar_example( "cmap1_blue_yellow.pal", i, 0, 0, 9, values_uneven );
}
}
plend();
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|