Info

This question is closed. Reopen it to edit or answer.

MATLABのR20​09bで作成したプロ​グラムをR2015a​で動かすとscatt​er3を使った表示が​異なります.何が問題​でしょうか?

1 view (last 30 days)
Takuya Kitamura
Takuya Kitamura on 2 Jun 2015
Closed: MATLAB Answer Bot on 20 Aug 2021
MATLABのR2009bで作成したプログラムで多次元配列を作成し,scatter3での表示を行っていました.しかし,R2015aで実行すると多次元配列の中のNaNの部分まで表示していまいます. 以下に表示するコードを記載しました.
[X, Y, Z] = meshgrid(datax, datay, dataz);
B = repmat(100,numel(x),1);
scatter3(X(:), Y(:), Z(:), B, f(:),'fill');
h = colorbar;
hold on
xlabel('X-axis')
ylabel('Y-axis')
zlabel('Z-axis')
ylabel(h,'Force')
axis equal
axis ([0 40 -30 30 -20 50])
grid off
view(-45, 20)
  2 Comments
Image Analyst
Image Analyst on 2 Jun 2015
I'm not sure what the question is unless you post in English. Most others won't know either.
Walter Roberson
Walter Roberson on 2 Jun 2015
Approximate translation:
When you move the program that was created in r2009b of matlab in r2015a different display using scatter3. What is the problem?
Create a multidimensional array in a program that was created in r2009b of matlab, we were doing a display in scatter3. But Mai is not displayed when you run in r2015a to the portion of nan in the multidimensional array. We have described the code to be displayed in the following .

Answers (1)

michio
michio on 8 Sep 2016
R2014bで刷新されたグラフィックスシステムの影響かもしれません。 http://jp.mathworks.com/help/matlab/graphics-changes-in-r2014b.html
ダミーのデータでも大丈夫ですので、実際に問題が再現できる実行可能なスクリプトがあればより詳しく調べることも可能です。どうぞよろしくお願いします。

Products

Community Treasure Hunt

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

Start Hunting!