|
From: <hez...@us...> - 2011-01-01 01:13:48
|
Revision: 11414
http://plplot.svn.sourceforge.net/plplot/?rev=11414&view=rev
Author: hezekiahcarty
Date: 2011-01-01 01:13:42 +0000 (Sat, 01 Jan 2011)
Log Message:
-----------
Revert a change mistakenly made to plcolorbar's tick handling
Modified Paths:
--------------
trunk/src/pllegend.c
Modified: trunk/src/pllegend.c
===================================================================
--- trunk/src/pllegend.c 2011-01-01 00:56:46 UTC (rev 11413)
+++ trunk/src/pllegend.c 2011-01-01 01:13:42 UTC (rev 11414)
@@ -1208,22 +1208,22 @@
// Draw the boxes, etc.
if ( opt & PL_COLORBAR_LEFT )
{
- snprintf( opt_string, max_opts, "bc%s", axis_opts );
+ snprintf( opt_string, max_opts, "bcn%s", axis_opts );
plbox( "bc", 0.0, 0, opt_string, 0.0, 0 );
}
else if ( opt & PL_COLORBAR_RIGHT )
{
- snprintf( opt_string, max_opts, "bc%s", axis_opts );
+ snprintf( opt_string, max_opts, "bcm%s", axis_opts );
plbox( "bc", 0.0, 0, opt_string, 0.0, 0 );
}
else if ( opt & PL_COLORBAR_UPPER )
{
- snprintf( opt_string, max_opts, "bc%s", axis_opts );
+ snprintf( opt_string, max_opts, "bcm%s", axis_opts );
plbox( opt_string, 0.0, 0, "bc", 0.0, 0 );
}
else if ( opt & PL_COLORBAR_LOWER )
{
- snprintf( opt_string, max_opts, "bc%s", axis_opts );
+ snprintf( opt_string, max_opts, "bcn%s", axis_opts );
plbox( opt_string, 0.0, 0, "bc", 0.0, 0 );
}
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|