Continue to Site

Eng-Tips is the largest engineering community on the Internet

Intelligent Work Forums for Engineering Professionals

  • Congratulations GregLocock on being selected by the Eng-Tips community for having the most helpful posts in the forums last week. Way to Go!

problem in setting scale to quiver plot

Status
Not open for further replies.

kollurulp

Mechanical
Apr 2, 2004
12
Hi i am getting a problem with quiver function. I want to set scale to the function by reading a value from a text box and the graph will be updated by clicking an update button. The graph is updating as i increase the scale but its not showing when i decrease the scale in the text box. please tell me what could be the problem. this is the code i am writing in the button callback. XMIN,XMAX,YMIN,YMAX,SCALE all are read from text boxes and updated when the button is clicked.

axis([XMIN,XMAX,YMIN,YMAX]);
hold on;
quiver(B,C,D,E,SCALE)
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor