Recent Changes - Search:

Start

(back to index)    (edit this in the feed-back web form)

Title
Drawing 2D curves

 

Type
User_friendliness

 

Raised by
Carlos Guardiola?

 

Date opened
Monday, 22 February 2010

 

Description
I’m not able to define a 2D curve stored in two 1D vectors.

 

Up to now, the only way I have found is defining a segment group with auxilary variables:

 


  for (i=0;i<n-1;i++){
    x[i]=X[i];
    y[i]=Y[i];
    dx[i]=X[i+1]-X[i];
    dy[i]=Y[i+1]-Y[i];
    }

 

is there any direct form of ploting the line defined by vectors [X,Y] (if possible specifying smoothness characteristics).

 

Importance
3

 

Proposed solution
Carlos,

 

Use a Polygon with its “Closed” property set to false. This should do exactly what you want. Well, quite. Polygons do not offer a smoothness option, I am afraid.

 

Paco

 

Urgency
3

 

Status
Open

 

Resolution

(back)
« 00047 · Edit Form · 00049 »

Edit - History - Print - Recent Changes - Search
Page last modified on February 23, 2010, at 09:53 PM