How to remove lines in meshgrid

29 ビュー (過去 30 日間)
Eric Daiber
Eric Daiber 2017 年 6 月 2 日
コメント済み: J K 2019 年 7 月 19 日
Hi All, I have been working on a code to show slices of my model grid. I want to remove the "Grid" lines eliminating the rectangular boxes shown in the grids. I have been using the following code:
[x,y,z] = meshgrid(1:100:499,1:100:499,1:10:24);
% K_final = a matrix of x,y,z and K field where K is dependent on independent variables x,y,z
v = log(K_final);
xslice = [100,250,225];
yslice = [100,300,200,400];
zslice = [];
slice(v,xslice,yslice,zslice,'LineStyle','none');
colormap jet;
grid off
xlabel 'This is x axis'
ylabel 'This is y axis'
zlabel 'This is z axis'
% GRAY, HOT, COOL, BONE, COPPER, PINK, FLAG, PRISM, JET
I want to remove the Cell outline on the image this creates?
Thanks, Eric
  7 件のコメント
the cyclist
the cyclist 2019 年 7 月 19 日
Um, did the command I suggested did cause the purple color?
You might want to ask a new question, rather than commenting on a 2-year-old one, and post your whole code. (It was by pure chance that I stumbled upon it here.)
J K
J K 2019 年 7 月 19 日
I think that the default color is purple. Thank you! You are right. I will post a new one.

サインインしてコメントする。

回答 (0 件)

カテゴリ

Help Center および File ExchangeSurface and Mesh Plots についてさらに検索

タグ

Community Treasure Hunt

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

Start Hunting!

Translated by