MATLAB Answers

Logaritmic scale in contour map via Matlab.

2 views (last 30 days)
Ivan Michael
Ivan Michael on 10 Oct 2019
Commented: Ivan Michael on 10 Oct 2019
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(...
Tempi = griddata(lon,lat,Temp, loni,lati);
could anyone help me?


Sign in to comment.

Answers (1)

thoughtGarden on 10 Oct 2019
You can set the scale to log like so:

  1 Comment

Ivan Michael
Ivan Michael on 10 Oct 2019
Ok, I would like to find a way to make a new contour plot. In this plot I would like to keep thw "old" colorbar (I mean the bar of my contour values before to be Logaritmhited).
Could anyone help me?

Sign in to comment.

Sign in to answer this question.