how to use gscatter in app designer

1 次查看(过去 30 天)
Hi !:)
I am wondering whether gscatter plot can be made in matlab app designer, if yes how?
thanks
  4 个评论
Walter Roberson
Walter Roberson 2022-6-27
编辑:Walter Roberson 2023-10-22
The document I linked to says to pass an axes to graphics functions. So pass your existing UIaxes to gscatter

请先登录,再进行评论。

回答(2 个)

Image Analyst
Image Analyst 2022-6-27
Why would it be any different than for just a script? Just place an axes on your figure, then call gscatter. What's the difficulty? Attach your .mlapp file and data if you need more help.
  2 个评论
Image Analyst
Image Analyst 2022-6-27
No, you wouldn't do anything with the axes's callback function. You should have a button that says something like "Plot data" and in the callback function for that button you would put the call to gscatter.

请先登录,再进行评论。


Muazma Ali
Muazma Ali 2022-6-27
You mean that I use a call back function on the axis object..? I am not used to making apps so my questions regarding app designer may sound strange maybe..
  1 个评论
Image Analyst
Image Analyst 2022-6-28
No. I specifically said not to do that. You make your changes to the callback functions of the button, not the axes object.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Develop Apps Using App Designer 的更多信息

Community Treasure Hunt

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

Start Hunting!

Translated by