Rank: 657 based on 188 downloads (last 30 days) and 1 file submitted
photo

David Fernandez-Prim

E-mail

Personal Profile:

 

Watch this Author's files

 

Files Posted by David Fernandez-Prim
Updated   File Tags Downloads
(last 30 days)
Comments Rating
28 Mar 2010 Screenshot On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim axis, zoom in, axes, magnify, plot, magnifier 188 42
  • 4.875
4.9 | 32 ratings
Comments and Ratings by David Fernandez-Prim View all
Updated File Comments Rating
14 Jul 2010 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim

Hi Corey,

1. You can easily change the color of the border of the magnifier and secondary axis through the property 'edgeColor', which by default is set to black.

2. At this moment, the tool does not provide a handle at calling time. However, there are several supported Hot Key combinations that might be useful for your purpose. 'Control+D', for instance, can be used to delete the tool from the current figure.

I hope that helps!

Regards

04 Apr 2010 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim

Dear Ben,

The functionality you request is already available in the tool.

In interactive mode, if you hit 'control + A', you will get information about the current position of secondary axes and magnifier on the command window of MATLAB.

After that, you only need to set the properties 'PositionSecondaryAxes' and 'PositionMagnifier' to the given values on the next call to this function.

I hope this answers your request :)

11 Jan 2010 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim

Kris, thanks a lot to you too for your comments. In version 1.16, you could already switch from one inset to the next one in a figure( by pressing 'tab' of doble-clicking the inset to focus), regardless they are on the same axes or not.
Maybe this feature could already suit your needs.

I'm currently working on the performance issue, which is not an easy one. I'll let you know the status. Please don't hesitate to report any other issue/bug you might find.

- David

Comments and Ratings on David Fernandez-Prim's Files View all
Updated File Comment by Comments Rating
18 Dec 2014 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim Matthew Masarik

Great submission. Thanks for posting.

Panayiotis: You can hack this to work by changing line 433 to read: "toolId = now;"

17 Nov 2014 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim Panayiotis Christodoulies

Indeed a great tool. Unfortunately it works up until MATLAB 2014a. I have recently installed MATLAB 2014b and when I ran the example file I get the following error:

Undefined function 'plus' for input arguments of type 'matlab.ui.Figure'.

Error in magnifyOnFigure (line 433)
toolId = appDataStruct.figureHandle +...

Error in magnifyOnFigure_examples (line 23)
magnifyOnFigure;

Is there a way around this? I am aware that in MATLAB 2014b some changes have been implemented with respect to figure plotting. I am not sure if this is related to the error.

Thank you in advance!

09 Sep 2014 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim Henry Tsang

I have found a temporary fix for the exporting as eps problem. When you export, do not "Save As" but instead use "Export Setup". Under "Rendering" in Properties, choose the Resolution as "Screen" (do NOT use Auto). This should keep the magnifying square where it should be.

21 May 2014 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim Daniel

Hello,
This a great function!
Just one question, if a new instance of the magnifier is called then it is created on top of the existing one. is there a possibility to adjust the code so that it "resets" previous instances of the magnifier once the magnifier function is called?

23 Jan 2014 On-figure magnifier Powerful on-figure magnifier, suitable for the publication of compact graphical results Author: David Fernandez-Prim Sathish Kumar

Very good work.Genius of you!

Contact us