Thread Subject: Zoom like custom functions

Subject: Zoom like custom functions

From: Gerhard

Date: 15 Mar, 2010 09:04:04

Message: 1 of 2

Hello averyone,

I want to code a custom function that works like the zoom function:

zoom on

My function should also call "myfunc on" and enable the user to process a axes

Where do I start? does my function need callbacks?

Thanks

Subject: Zoom like custom functions

From: Jan Simon

Date: 15 Mar, 2010 12:37:24

Message: 2 of 2

Dear Gerhard!

> I want to code a custom function that works like the zoom function:
>
> zoom on
>
> My function should also call "myfunc on" and enable the user to process a axes
> Where do I start? does my function need callbacks?

Look in the function CAMZOOM for moving the camera to the point of view.
You need an interface to the user, e.g. the mouse or keyboard - therefore you definitely need some callbacks. e.g. the WindowsButtonMotionFcn or KeyPressFcn of the figure.

Kind regards, Jan

Tags for this Thread

Everyone's Tags:

Add a New Tag:

Separated by commas
Ex.: root locus, bode

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.

Tag Activity for This Thread
Tag Applied By Date/Time
zoom function p... Gerhard 15 Mar, 2010 05:09:06
rssFeed for this Thread

Contact us at files@mathworks.com