[Gmsh] 2D plot

Marios Papadopoulos mariospapa2008 at gmail.com
Sat Jul 10 21:48:55 CEST 2010


I want to plot a X-Y Data in a 2D plot in Gmsh where:
X-Y Values are:

x1 =  0.0,    y1 =  0.0
x2 = -0.1,    y2 = -0.1
x3 = -0.2,    y3 = -0.4
x4 = -0.3,    y4 =  2.0
etc.

I create a .pos file with this:

View "X-Y Plot" {
  SP(0.0,0.0,0.0){0.1};
  SP(-0.1,0.0,0.0){-0.1};
  SP(-0.2,0.0,0.0){-0.4};
  SP(-0.3,0.0,0.0){2.0};
etc...
};

But in X Axis shows the values: 0, 1, 2, 3... etc instead of 0.0, -0.1,
-0.2, -0.3.

Where is the bug?
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.geuz.org/pipermail/gmsh/attachments/20100710/21bff024/attachment.html>