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)
axis([XMIN,XMAX,YMIN,YMAX]);
hold on;
quiver(B,C,D,E,SCALE)