plot - plotting a text file with 4 columns in matlab -
i want plot text file 4 columns first column in longitude,second in latitude, third depth , forth amount of displacement in each point.(it's related fualt)
-114.903874 41.207504 1.446784 2.323745
i want plot show amount of displacement in each point (like images plot imagesc),unfortunately "imagesc" command doesn't work it.
how can plot it? attention
a simple way use scatter3 , assign displacements colours. note have supply size work - i'm using []
(empty matrix) set default. if 4 sets of values 4 vectors of same size, it's like:
scatter3(lat,lon,depth,[],displacement, 'filled')
values in displacement
linearly mapped current colormap. 'filled'
gives filled markers rather open ones (default marker circle can changed).
Comments
Post a Comment