|
From: <and...@us...> - 2008-07-22 10:57:00
|
Revision: 8553
http://plplot.svn.sourceforge.net/plplot/?rev=8553&view=rev
Author: andrewross
Date: 2008-07-22 10:57:10 +0000 (Tue, 22 Jul 2008)
Log Message:
-----------
Remove unused time related functions from C and java versions of example
21.
Modified Paths:
--------------
trunk/examples/c/x21c.c
trunk/examples/java/x21.java
Modified: trunk/examples/c/x21c.c
===================================================================
--- trunk/examples/c/x21c.c 2008-07-22 10:56:25 UTC (rev 8552)
+++ trunk/examples/c/x21c.c 2008-07-22 10:57:10 UTC (rev 8553)
@@ -22,7 +22,6 @@
*/
#include "plcdemos.h"
-#include <time.h>
#if !defined(HAVE_ISNAN)
# define isnan(x) ((x) != (x))
@@ -156,7 +155,6 @@
PLFLT *x, *y, *z, *clev;
PLFLT *xg, *yg, **zg;
PLFLT zmin, zmax, lzm, lzM;
- long ct;
int i, j, k;
PLINT alg;
char *title[] = {"Cubic Spline Approximation",
@@ -211,10 +209,7 @@
pladv(0);
for (alg=1; alg<7; alg++) {
- ct = clock();
plgriddata(x, y, z, pts, xg, xp, yg, yp, zg, alg, opt[alg-1]);
- /* printf("time=%ld ms", (clock() - ct)/1000); */
- /* printf("opt=%.3f", opt[alg-1]); */
/* - CSA can generate NaNs (only interpolates?!).
* - DTLI and NNI can generate NaNs for points outside the convex hull
Modified: trunk/examples/java/x21.java
===================================================================
--- trunk/examples/java/x21.java 2008-07-22 10:56:25 UTC (rev 8552)
+++ trunk/examples/java/x21.java 2008-07-22 10:57:10 UTC (rev 8553)
@@ -135,10 +135,8 @@
double xg[], yg[], zg[][];
double xg0[][], yg0[][];
double zmin, zmax, lzm[], lzM[];
- long ct;
int i, j, k;
int alg;
- String ylab, xlab;
String title[] = {"Cubic Spline Approximation",
"Delaunay Linear Interpolation",
"Natural Neighbors Interpolation",
This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.
|