Crop image from imagesc, after creating the image.

2 views (last 30 days)
Ben Avnit
Ben Avnit on 23 Jan 2022
Commented: _ on 23 Jan 2022
As the title says, I got my results as shown . <br/>
But everything under f_bias = 0 isn't relevent. <br/>
How can I take "take" the relevent part? (or cut the irrelevent part)

Answers (1)

_ on 23 Jan 2022
You can set the axes YLim to the relevant part. In your case:
set(gca(),'YLim',[-1 0]);
_ on 23 Jan 2022
You're welcome! If that solves the problem, please mark the answer as 'Accepted'. Thanks!

Sign in to comment.




Community Treasure Hunt

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

Start Hunting!