Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
question regarding dragrect

Subject: question regarding dragrect

From: Yoav Rubin

Date: 18 Apr, 2008 13:17:01

Message: 1 of 1

Hi All,
I try to use dragrect in a plot that the XLims are betweeen
0 and 100000, whereas the YLim is between 0 and 1 , the
problem is that when I start to drag the rectangle (using
the dragrect command in the on ButtonDownFcn callback on the
rectangle) it doesn't move. I tried to set a different step
size, but since there is a very big difference between the
ranges of x and y axis, then if I set a small size step,
then the program gets stuck, and if I set a big step size,
then still the rectangle doesn't get dragged.
Does anyone has any idea what to do here?

thanks
Yoav

Tags for this Thread

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us