How to plot contour map in MATLAB with time on X axis, drop diameter on Y axis with data containing number of drop diameters to show raindrop size distribution?

I want to show raindrop size distribution in MATLAB using contour mapping. My datafile contains number of drops. I want to show variation of drop diamtere with time.How to do that in MATLAB with filled contour?

Answers (1)

Read about scatter.

14 Comments

What data you have? Have a look on pcolor, contour.
can you suggest the programme for contour mapping using this data?
dia = importdata('Rdrop_dia.txt') ;
Rtime = importdata('Rtime.txt') ;
Rdrop_nos = importdata('Rdrop_nos.txt') ;
% contourf(Rtime,dia,Rdrop_nos)
pcolor(Rtime,dia,Rdrop_nos)
shading interp
colorbar
Thank you for your reply, but the contour map is not looking like the map in the picture shared by me( white background in the map). Kindly suggest for the same.
It depends on how your data is. Is the attached plot is for the given data?
So that is the plot from the data. Also try contourf; I have commented that line.
yes sir. I've tried that and applied to different data, but facing same issue(blue background).

Sign in to comment.

Categories

Asked:

on 3 Jan 2022

Commented:

on 4 Jan 2022

Community Treasure Hunt

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

Start Hunting!