Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations cowski 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
Joined
Apr 2, 2004
Messages
12
Location
DE
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

Back
Top