plot distribution without interpolated contour

4 次查看(过去 30 天)
Hi
Could you please help me with one question which has been with me for a long time?
The below left figure show contour plot using meshgrid and griddata to show pressure distribution along each line using below code.
[xg,yg]=meshgrid(XX_Uniform,YY_Uniform);
zg_wellinjpres=griddata(WellCoordinate(:,1),WellCoordinate(:,2),WellInjPres(:,plotdatenum_withinWellInjPres),xg,yg);
However, I like to have a plot without any value between each line without using interpolation. I like to show value on each line only. For example, the below right figure.
How to do it? Thanks

回答(0 个)

类别

Help CenterFile Exchange 中查找有关 Contour Plots 的更多信息

产品


版本

R2017a

Community Treasure Hunt

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

Start Hunting!

Translated by