r115: *** empty log message ***
[ctsim.git] / libctgraphics / ezplot.cpp
index dfd0baf900807c4f76cf798ddd2d1b0203bd3058..81af0ddc30349216ac58719a8827b55baa48674d 100644 (file)
@@ -6,7 +6,7 @@
 **  This is part of the CTSim program
 **  Copyright (C) 1983-2000 Kevin Rosenberg
 **
-**  $Id: ezplot.cpp,v 1.2 2000/06/19 19:04:05 kevin Exp $
+**  $Id: ezplot.cpp,v 1.3 2000/06/20 17:54:51 kevin Exp $
 **
 **  This program is free software; you can redistribute it and/or modify
 **  it under the terms of the GNU General Public License (version 2) as
@@ -123,6 +123,18 @@ static char y_numfmt[10];  /* format to print y tick labels */
  *----------------------------------------------------------------------*/
 
 
+SGP_ID 
+ezplot (float x[], double y[], int num)
+{
+  double dx [num];
+
+  for (int i = 0; i < num; i++)
+    dx[i] = x[i];
+
+  ezplot (dx, y, num);
+}
+
+
 SGP_ID
 ezplot (double x[], double y[], int num)
 {