tags:

views:

688

answers:

1

I just can't find it. How to set up axis and labels in matlab so they cross at zero point, with the labels just below the axis not on left/bottom of the plot ?

If I didn't make myself clear - I just want the plot to look like like we all used to draw it when in school. Axes crossing, 4 quadrants, labels right below axis, curve ... as it goes.

Anyone knows how to set it up ?

+5  A: 

You should check out two submissions on The MathWorks File Exchange:

Hopefully these will work with whatever MATLAB version you have (the submission from Matt Fig is the most recently updated one).

gnovice
@Idigas: I understand what you want now. I updated my answer accordingly.
gnovice
Hmm, yes I found the first one (the image "upstairs" is from it. But I've been having problems with it when manipulating it.). They both seem like workarounds to me ... do you mean to tell me matlab doesn't support something like this normally ? ... checking out the second one.
ldigas
@Idigas: There's nothing like this currently built-in to MATLAB. You either have to create this sort of thing yourself or find a FEX submission from someone who already has. ;)
gnovice
Good to know. Anyway, I managed to get the second one working, so that will have to do for now. Appreciate the help in clearing this out for me.
ldigas

related questions