How to change the y-limit values from low to high?

1 view (last 30 days)
I implemented a fractal generation code and obtained the image. Somehow i am getting y limit values starting from high end. It means for y[1,5], ylimit starts from 5 and goes upto 1. I tried ylim([1,5]) as well but no luck. Please help me to change it. Sample code and image are attached for your reference.

Accepted Answer

Mehmed Saad
Mehmed Saad on 6 May 2020
h = gca;
h.YDir = 'normal'

More Answers (0)

Categories

Find more on Fractals in Help Center and File Exchange

Tags

Community Treasure Hunt

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

Start Hunting!