shifting x-axis from bottom to the center i.e. y=0

How may I do that in simple way. I search the internet all give a complicated .m files that are not really good. Is there any simple way as we do it from bottom to top?

Answers (1)

I’m not quite sure what you’re asking. See if Matt Fig’s File Exchange contribution axescenter does what you want.

2 Comments

it is incompatible with new graphics in the 2014b release
I know it works for graphics prior to R2104b, but I don’t know about its compatibility with HG2. If you still have R2014a installed on your system, use it. That’s what I do.

This question is closed.

Asked:

on 8 Apr 2015

Closed:

on 20 Aug 2021

Community Treasure Hunt

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

Start Hunting!