how to use gscatter in app designer

조회 수: 1 (최근 30일)
Muazma Ali
Muazma Ali 2022년 6월 27일
편집: Walter Roberson 2023년 10월 22일
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
Muazma Ali
Muazma Ali 2022년 6월 27일
Thanks I will look at it! 👍

댓글을 달려면 로그인하십시오.

답변 (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일
👍

댓글을 달려면 로그인하십시오.


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