i should surf plot my data points x(14000),y(26),z(26x14000) , none of these points have missing data, but when i do the surf plot and view it using view(0,90) i could see missing data(white patches) which is never expected because my colorscale is parula which ranges from blue to yellow

5 件のコメント

Walter Roberson
Walter Roberson 2020 年 1 月 29 日
Can you attach the values in a .mat ?
rupa battula
rupa battula 2020 年 1 月 30 日
my appologies, i cant post my work anywhere but x ranges from(0 to 0.5), y ranges from 488 to 4200, z ranges from (0.0089 to 1.061e-23) all the type double.
Walter Roberson
Walter Roberson 2020 年 1 月 30 日
Please show the output of whos for all of the variables.
KSSV
KSSV 2020 年 1 月 30 日
If you cant post your work, you ashould not ask for help in open forums. You will get help on showing your problem; else how do you expect to get a help?
rupa battula
rupa battula 2020 年 1 月 30 日
i have attached the file

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

 採用された回答

Siyuan Wu
Siyuan Wu 2021 年 8 月 5 日

0 投票

i just happened to find my figure I plotted last month, which is ok. And after one month, I rerun the program the white spot came up.
I found that it is due to the OpenGL related......
I try to type "opengl hardware" and re-plot the figure. The white spot disappear........

1 件のコメント

darova
darova 2021 年 8 月 5 日
Sometimes have problems with colorbar
opengl software % helps me

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

その他の回答 (1 件)

KSSV
KSSV 2020 年 1 月 30 日

0 投票

Your data is fine.....there are no missing values....you may try this:
surf(x,y,Z)
colorbar
grid off
shading interp

3 件のコメント

Walter Roberson
Walter Roberson 2020 年 1 月 30 日
I do not see any problem on my system.
I would tend to suggest (personal preference)
surf(x, y, Z, 'edgecolor', 'none')
colorbar
I would leave grid on.
You might be having a graphics driver glitch. Try
set(gcf, 'Renderer', 'Painters')
and look at the date of the driver that shows up in
opengl info
and update graphics drivers if you are not fairly current.
rupa battula
rupa battula 2020 年 1 月 31 日
Thanks, it is working fine
Walter Roberson
Walter Roberson 2020 年 1 月 31 日
What was the solution?

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

カテゴリ

ヘルプ センター および File Exchange2-D and 3-D Plots についてさらに検索

タグ

質問済み:

2020 年 1 月 29 日

コメント済み:

2021 年 8 月 5 日

Community Treasure Hunt

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

Start Hunting!

Translated by