From: <and...@us...> - 2013-11-27 11:44:01
|
Revision: 12763 http://sourceforge.net/p/plplot/code/12763 Author: andrewross Date: 2013-11-27 11:43:57 +0000 (Wed, 27 Nov 2013) Log Message: ----------- With transform need to set rect = 0 since rectangles are not mapped to rectangles any more. Modified Paths: -------------- trunk/examples/c/x22c.c trunk/examples/c++/x22.cc Modified: trunk/examples/c/x22c.c =================================================================== --- trunk/examples/c/x22c.c 2013-11-27 08:41:24 UTC (rev 12762) +++ trunk/examples/c/x22c.c 2013-11-27 11:43:57 UTC (rev 12763) @@ -250,7 +250,7 @@ plcol0( 2 ); plshades( (const PLFLT * const *) u, nx, ny, NULL, xmin + dx / 2, xmax - dx / 2, ymin + dy / 2, ymax - dy / 2, - clev, nc, 0, 1, 1.0, plfill, 1, NULL, NULL ); + clev, nc, 0.0, 1, 1.0, plfill, 0, NULL, NULL ); plvect( (const PLFLT * const *) u, (const PLFLT * const *) v, nx, ny, -1.0, pltr2, (void *) &cgrid2 ); // Plot edges using plpath (which accounts for coordinate transformation) rather than plline Modified: trunk/examples/c++/x22.cc =================================================================== --- trunk/examples/c++/x22.cc 2013-11-27 08:41:24 UTC (rev 12762) +++ trunk/examples/c++/x22.cc 2013-11-27 11:43:57 UTC (rev 12763) @@ -211,7 +211,7 @@ pls->col0( 2 ); pls->shades( (const PLFLT * const *) u, nx, ny, NULL, xmin + dx / 2, xmax - dx / 2, ymin + dy / 2, ymax - dy / 2, - clev, nc, 0, 1, 1.0, plstream::fill, 1, NULL, NULL ); + clev, nc, 0, 1, 1.0, plstream::fill, 0, NULL, NULL ); pls->vect( (const PLFLT * const *) u, (const PLFLT * const *) v, nx, ny, -1.0, plstream::tr2, (void *) &cgrid2 ); // Plot edges using plpath (which accounts for coordinate transformation) rather than plline This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |