jeffpr
Materials
- Jul 10, 2005
- 2
I have a contour plot in 3D that I want to fill in, so I can use contourslice to display it and chose the number of contour lines, but there are still gaps in the plot, space that I want to fill in. I have my colormap set and caxis set so the corresponding data in the array is assigned the color I want. Increasing the linewidth helps it fill in but it distorts the rest of the plot and doesn't fill in all the gaps.
So I have the lines:
isochrone = contourslice(v1,[],[],[100],125);
set(isochrone,'LineWidth',2);
colormap(colors);
caxis([0 150]);
I want a command like contourf for my data, but it doesn't allow you to display a colormap for the data points, its automatically set by Matlab. Is there some command that I can generate a contour plot with and have the lines filled in, or do some interpolation with my data and have matlab fill in the color between contour lines. Thanks for your help.
Jeff
So I have the lines:
isochrone = contourslice(v1,[],[],[100],125);
set(isochrone,'LineWidth',2);
colormap(colors);
caxis([0 150]);
I want a command like contourf for my data, but it doesn't allow you to display a colormap for the data points, its automatically set by Matlab. Is there some command that I can generate a contour plot with and have the lines filled in, or do some interpolation with my data and have matlab fill in the color between contour lines. Thanks for your help.
Jeff