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!