Make a contourf plot beautifuller
Mostra commenti meno recenti
Hello,
I have a question regarding the contourf plot in Matlab.
With my script:
f=figure(2);
fontSize=20;
f.Position(3:4)=[1280 1080];
%
contourf(x,y,T,15)
clabel(contourf(x,y,T,15,"-b"),'FontSize', fontSize)
cb= colorbar;
c=turbo(20);
colormap(c);
shading interp
set(gca,'ydir','reverse')
set(gca,'FontSize',fontSize)
set(cb,'FontSize',fontSize)
set(gca,'FontSize',fontSize)
xlabel('X/ m','FontSize', fontSize)
ylabel('Y/ m','FontSize', fontSize)
I get this plot:

It's not beaufifull.
I would like create something like this:

Is it possible to smooth the contourf plot to create a better plot?
Would it be also possible to achive a plot without filled areas, only with colored isolines? Like this:

With best regards
Steffen
Risposta accettata
Più risposte (0)
Categorie
Scopri di più su Descriptive Statistics and Visualization in Centro assistenza e File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!


