XYGraphSetPointData

 

Change the value of a specific position on the XYgraph.

 

void @XYGraphSetPointData(string classname, int member_pos, int index, double valuex, double valuey);

 

Parameters

string classname : The class name of the object

int member_pos : The position of the member to change

int index : The position to change

double valuex : The value to change (X)

double valuey : The value to change (Y)

 

Retrun Value

None

 

Example

@XYGraphClear("XYGraph1");

// Data that looks like a staircase
for(i = 0; i < 30; i=i+1) {
   ii = i/2;
   @XYGraphSetPointData("XYGraph1", 0, i, i*2, ii*8);
}

 

Description : Change the data in XYGraph1 to something that looks like a staircase.

 

Version Information

Supported Version: 10.3.1

 

Related Helps

@XYGraphClear()

@XYGraphRun()

@XYGraphSetData()

@XYGraphSetPointData()

@XYGraphStop()