Clear Filters
Clear Filters

Create plot with orthonormal axis

36 views (last 30 days)
Philippe
Philippe on 2 May 2014
Answered: Hugo on 7 May 2014
I would like to plot a Nyquist impedance spectra in orthonormal axis. I can't find the command that would allow me to do so automatically. I would also like that the graph keeps beeing in orthonormal axis even if I resize by hand the window in which it is plot, for fitting with my output figure (e.g. for a file dedicated to a journal publication) Could you help me ? Thanks

Accepted Answer

Hugo
Hugo on 7 May 2014
Maybe you can solve this by setting the axes property 'DataAspectRatio' to a specific value. For example:
set(gca,'DataAspectRatio',[1,1,1])
Here, gca is the handle of the current axes, and the vector [1,1,1] indicates that you want all axes to have the same scale in the screen. You can resize the window manually but it will always retain the same relation between the axes.
Hope this helps.

More Answers (1)

Azzi Abdelmalek
Azzi Abdelmalek on 2 May 2014
Edited: Azzi Abdelmalek on 2 May 2014
Use nyquist function
  1 Comment
Philippe
Philippe on 7 May 2014
Thanks for your answer but the problem with this function, as far as understood the help and my unsuccesful atempts to use it, is that it uses a model as input. But, what I need is a function that plot experimental data. Therefore, I need a function which accept a table or columns of table as input. So if anyone could help me... Thanks by advance.

Sign in to comment.

Categories

Find more on 2-D and 3-D Plots in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!