From: <ai...@us...> - 2010-09-15 23:53:28
|
Revision: 11184 http://plplot.svn.sourceforge.net/plplot/?rev=11184&view=rev Author: airwin Date: 2010-09-15 23:53:22 +0000 (Wed, 15 Sep 2010) Log Message: ----------- Use pllsty rather than plstyl to intialize line style. This allows storing the line style index in plsc->line_style. Modified Paths: -------------- trunk/src/plcore.c Modified: trunk/src/plcore.c =================================================================== --- trunk/src/plcore.c 2010-09-15 02:17:25 UTC (rev 11183) +++ trunk/src/plcore.c 2010-09-15 23:53:22 UTC (rev 11184) @@ -2179,7 +2179,7 @@ PLFLT def_arrow_x[6] = { -0.5, 0.5, 0.3, 0.5, 0.3, 0.5 }; PLFLT def_arrow_y[6] = { 0.0, 0.0, 0.2, 0.0, -0.2, 0.0 }; PLFLT lx, ly, xpmm_loc, ypmm_loc, aspect_old, aspect_new; - PLINT mk = 0, sp = 0, inc = 0, del = 2000; + PLINT inc = 0, del = 2000; pllib_init(); @@ -2299,7 +2299,7 @@ plgra(); plcol( 1 ); - plstyl( 0, &mk, &sp ); + pllsty( 1 ); plpat( 1, &inc, &del ); plsvect( def_arrow_x, def_arrow_y, 6, 0 ); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |