From: <and...@us...> - 2008-07-21 12:12:42
|
Revision: 8548 http://plplot.svn.sourceforge.net/plplot/?rev=8548&view=rev Author: andrewross Date: 2008-07-21 12:09:13 +0000 (Mon, 21 Jul 2008) Log Message: ----------- Add java support for plimagefr. Modified Paths: -------------- trunk/bindings/java/PLStream.java trunk/bindings/swig-support/plplotcapi.i Modified: trunk/bindings/java/PLStream.java =================================================================== --- trunk/bindings/java/PLStream.java 2008-07-21 08:45:58 UTC (rev 8547) +++ trunk/bindings/java/PLStream.java 2008-07-21 12:09:13 UTC (rev 8548) @@ -405,6 +405,11 @@ plplotjavac.plimage(data, xmin, xmax, ymin, ymax, zmin, zmax, Dxmin, Dxmax, Dymin, Dymax); } +public void imagefr(double[][] data, double xmin, double xmax, double ymin, double ymax, double zmin, double zmax, double valuemin, double valuemax, double[][] pltr, double[][] OBJECT_DATA) { + if (set_stream() == -1) return; + plplotjavac.plimagefr(data, xmin, xmax, ymin, ymax, zmin, zmax, valuemin, valuemax, pltr, OBJECT_DATA); +} + public void init() { if (set_stream() == -1) return; plplotjavac.plinit(); Modified: trunk/bindings/swig-support/plplotcapi.i =================================================================== --- trunk/bindings/swig-support/plplotcapi.i 2008-07-21 08:45:58 UTC (rev 8547) +++ trunk/bindings/swig-support/plplotcapi.i 2008-07-21 12:09:13 UTC (rev 8548) @@ -944,6 +944,14 @@ PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, PLFLT Dxmin, PLFLT Dxmax, PLFLT Dymin, PLFLT Dymax); +/* plots a 2d image (or a matrix too large for plshade() ). */ + +void +plimagefr( PLFLT **Matrix, PLINT nx, PLINT ny, + PLFLT xmin, PLFLT xmax, PLFLT ymin, PLFLT ymax, PLFLT zmin, PLFLT zmax, + PLFLT valuemin, PLFLT valuemax, + pltr_func pltr, PLPointer SWIG_OBJECT_DATA); + #ifdef 0 /* Returns a list of file-oriented device names and their menu strings */ void This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |