<div>ok! But, I want to show the values 0.0, -0.1, -0.2, -0.3 instead of: 0, 1, 2, 3... etc (the distance to the first point, as you mentioned). How can I do this in a 2D plot?<br></div><div><br></div><div><br></div><div><br>
</div><br><div class="gmail_quote">On Wed, Aug 4, 2010 at 12:24 AM, Christophe Geuzaine <span dir="ltr"><<a href="mailto:cgeuzaine@ulg.ac.be">cgeuzaine@ulg.ac.be</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div><div class="h5">On 10/07/10 21:48, Marios Papadopoulos wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
I want to plot a X-Y Data in a 2D plot in Gmsh where:<br>
X-Y Values are:<br>
<br>
x1 =  0.0,    y1 =  0.0<br>
x2 = -0.1,    y2 = -0.1<br>
x3 = -0.2,    y3 = -0.4<br>
x4 = -0.3,    y4 =  2.0<br>
etc.<br>
<br>
I create a .pos file with this:<br>
<br>
View "X-Y Plot" {<br>
   SP(0.0,0.0,0.0){0.1};<br>
   SP(-0.1,0.0,0.0){-0.1};<br>
   SP(-0.2,0.0,0.0){-0.4};<br>
   SP(-0.3,0.0,0.0){2.0};<br>
etc...<br>
};<br>
<br>
But in X Axis shows the values: 0, 1, 2, 3... etc instead of 0.0, -0.1,<br>
-0.2, -0.3.<br>
<br>
Where is the bug?<br>
<br>
</blockquote>
<br></div></div>
It's not a bug, it's a "feature" :-) We use the distance to the first point as the abscissa in 2-D plots...<br>
<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<br>
<br>
_______________________________________________<br>
gmsh mailing list<br>
<a href="mailto:gmsh@geuz.org" target="_blank">gmsh@geuz.org</a><br>
<a href="http://www.geuz.org/mailman/listinfo/gmsh" target="_blank">http://www.geuz.org/mailman/listinfo/gmsh</a><br>
</blockquote>
<br>
<br>
-- <br>
Prof. Christophe Geuzaine<br>
University of Liege, Electrical Engineering and Computer Science<br>
<a href="http://www.montefiore.ulg.ac.be/~geuzaine" target="_blank">http://www.montefiore.ulg.ac.be/~geuzaine</a><br>
</blockquote></div><br>