|
From: <hez...@us...> - 2011-01-29 17:12:51
|
Revision: 11527
http://plplot.svn.sourceforge.net/plplot/?rev=11527&view=rev
Author: hezekiahcarty
Date: 2011-01-29 17:12:45 +0000 (Sat, 29 Jan 2011)
Log Message:
-----------
Update C example 33 to match plcolorbar position API change
Modified Paths:
--------------
trunk/examples/c/x33c.c
Modified: trunk/examples/c/x33c.c
===================================================================
--- trunk/examples/c/x33c.c 2011-01-29 17:12:25 UTC (rev 11526)
+++ trunk/examples/c/x33c.c 2011-01-29 17:12:45 UTC (rev 11527)
@@ -78,7 +78,7 @@
PLINT opt, opt_position;
opt = bar_type | PL_COLORBAR_LABEL_LEFT | PL_COLORBAR_CAP_HIGH;
- opt_position = PL_COLORBAR_LEFT;
+ opt_position = PL_POSITION_LEFT;
const char *axis_opts_1, *axis_opts_2;
if ( bar_type & PL_COLORBAR_SHADE_LABEL )
@@ -107,7 +107,7 @@
n, colors, values );
opt = bar_type | PL_COLORBAR_LABEL_RIGHT | PL_COLORBAR_CAP_LOW;
- opt_position = PL_COLORBAR_RIGHT;
+ opt_position = PL_POSITION_RIGHT;
plcolorbar( opt, opt_position, 0.1, 0.4, 0.5, 0.1,
cont_color, cont_width,
@@ -116,7 +116,7 @@
n, colors, values );
opt = bar_type | PL_COLORBAR_LABEL_UPPER | PL_COLORBAR_CAP_HIGH;
- opt_position = PL_COLORBAR_UPPER;
+ opt_position = PL_POSITION_UPPER;
plcolorbar( opt, opt_position, 0.1, 0.1, 0.5, 0.1,
cont_color, cont_width,
@@ -125,7 +125,7 @@
n, colors, values );
opt = bar_type | PL_COLORBAR_LABEL_LOWER | PL_COLORBAR_CAP_LOW;
- opt_position = PL_COLORBAR_LOWER;
+ opt_position = PL_POSITION_LOWER;
plcolorbar( opt, opt_position, 0.4, 0.1, 0.5, 0.1,
cont_color, cont_width,
@@ -168,7 +168,7 @@
PLINT opt, opt_position;
opt = bar_type | PL_COLORBAR_LABEL_LEFT | PL_COLORBAR_CAP_LOW;
- opt_position = PL_COLORBAR_LEFT;
+ opt_position = PL_POSITION_LEFT;
const char *axis_opts_1, *axis_opts_2;
if ( bar_type == PL_COLORBAR_SHADE_LABEL )
@@ -197,7 +197,7 @@
n, colors, values );
opt = bar_type | PL_COLORBAR_LABEL_RIGHT | PL_COLORBAR_CAP_HIGH;
- opt_position = PL_COLORBAR_RIGHT;
+ opt_position = PL_POSITION_RIGHT;
plcolorbar( opt, opt_position, 0.1, 0.4, 0.5, 0.1,
cont_color, cont_width,
@@ -206,7 +206,7 @@
n, colors, values );
opt = bar_type | PL_COLORBAR_LABEL_UPPER | PL_COLORBAR_CAP_LOW;
- opt_position = PL_COLORBAR_UPPER;
+ opt_position = PL_POSITION_UPPER;
plcolorbar( opt, opt_position, 0.1, 0.1, 0.5, 0.1,
cont_color, cont_width,
@@ -215,7 +215,7 @@
n, colors, values );
opt = bar_type | PL_COLORBAR_LABEL_LOWER | PL_COLORBAR_CAP_HIGH;
- opt_position = PL_COLORBAR_LOWER;
+ opt_position = PL_POSITION_LOWER;
plcolorbar( opt, opt_position, 0.4, 0.1, 0.5, 0.1,
cont_color, cont_width,
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|