Logaritmic scale in contour map via Matlab.
1 次查看(过去 30 天)
显示 更早的评论
Hello,
I have a question about a code. Well, I have created a contour map with contourf command.
I would like to convert the linear scale bar to logaritmic scale bar.
I ve used these commands:
[loni, lati] = meshgrid(...
linspace(min(lon),max(lon)),...
linspace(min(lat),max(lat)));
Tempi = griddata(lon,lat,Temp, loni,lati);
contourf(loni,lati,Tempi)
could anyone help me?
0 个评论
回答(1 个)
thoughtGarden
2019-10-10
You can set the scale to log like so:
set(gca,'xscale','log','yscale','log');
另请参阅
类别
在 Help Center 和 File Exchange 中查找有关 Data Distribution Plots 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!