|
From: <ai...@us...> - 2011-06-14 06:17:44
|
Revision: 11769
http://plplot.svn.sourceforge.net/plplot/?rev=11769&view=rev
Author: airwin
Date: 2011-06-14 06:17:38 +0000 (Tue, 14 Jun 2011)
Log Message:
-----------
Plot both background and edge of colorbar bounding box to help
diagnose any colorbar bounding box or positioning issues. For
example, this plot currently demonstrates there are no such issues
associated with the caps, but there continues to be the well-known
issues where the numerical labeling of tick marks and the labels are
currently ignored for bounding box size and position.
Modified Paths:
--------------
trunk/examples/c/x33c.c
Modified: trunk/examples/c/x33c.c
===================================================================
--- trunk/examples/c/x33c.c 2011-06-14 06:13:31 UTC (rev 11768)
+++ trunk/examples/c/x33c.c 2011-06-14 06:17:38 UTC (rev 11769)
@@ -235,10 +235,12 @@
plvpor( 0.1, 0.9, 0.1, 0.9 );
plwind( 0.0, 1.0, 0.0, 1.0 );
+ // Set interesting background colour.
+ plscol0a( 15, 0, 0, 0, 0.20 );
plcolorbar( &colorbar_width, &colorbar_height,
- opt, position,
+ opt|PL_COLORBAR_BOUNDING_BOX|PL_COLORBAR_BACKGROUND, position,
x, y, x_length, y_length,
- 0, 1, 1,
+ 15, 1, 1,
low_cap_color, high_cap_color,
cont_color, cont_width,
ticks, sub_ticks,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|