Got Questions? Get Answers.
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:
Allow zooming only when clicking on the x or y axis

Subject: Allow zooming only when clicking on the x or y axis

From: Camille Couzi

Date: 3 Nov, 2010 18:14:04

Message: 1 of 1

Hi!
Can anybody tell me if it is possible to allow zooming only when clicking on the x or y axis?
I am asking that because I am using two superimposed axes (axes1 has Yaxis on the left, and axes2 has the Yaxis on the right) , and in each axes I plot lines (it is a little bit as if it was a plotyy thing). When I used the original zoom on that superimposed axes, it doen't have a fine behaviour, I would like to forbid use of zoom on those axes (a little bit as setAllowAxesPan but for zoom tool), and allo zoom when cliking on the y axis of each axes.

Thanks in advance for your reply!

Camille.

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