read 3d.fig xyz

1 回表示 (過去 30 日間)
mohamad
mohamad 2015 年 2 月 10 日
コメント済み: Star Strider 2015 年 2 月 11 日
Hello I have an image 3d.fig and i want to read the x and y and z coordinate how can I?

回答 (1 件)

Star Strider
Star Strider 2015 年 2 月 10 日
I would use the openfig function to read and load it, and then the get function to access the various properties, such as 'XData', 'YData', and 'ZData'. See the documentation for details.
  10 件のコメント
mohamad
mohamad 2015 年 2 月 11 日
ok, that's the problem when you load it you won't get any information but when you put the cursor at the image it show to you that there is a data(x,y,z)how can i get this data from this image?
Star Strider
Star Strider 2015 年 2 月 11 日
The only solution I can come up with is to manually go to the ‘File’ menu in the figure GUI, choose ‘Save As’, and choose the ‘*.jpg’ option to save it as an image. All the data should be available to you then when you open it as an image. (There may be a way to do that programmatically, but I can’t find it in the documentation, at least not with your particular figure file.)

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

カテゴリ

Help Center および File ExchangeConvert Image Type についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by