Contourf and axis tight : still white space in plot

Hello everyone,
in order to plot data I am using 'contourf' and 'axis tight'.
Unfortunately, as u can see in the image below, there still remains some white space.
contourf_axis_tight.PNG
Any ideas on how to avoid the white space ? When I use 'surf' instead, the plot only runs within the data range...
Greetings,
Christian

2 Comments

I know this post is over a year and a half old now, was there ever a solution found for this issue? I am having the same problem when plotting a 2D IR spectrum as a contour plot.
Can you share code that reproduces this?

Sign in to comment.

Answers (0)

Categories

Community Treasure Hunt

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

Start Hunting!