how to use gscatter in app designer

Hi !:)
I am wondering whether gscatter plot can be made in matlab app designer, if yes how?
thanks

4 Kommentare

Muazma Ali
Muazma Ali am 27 Jun. 2022
They dont say anything about gscatter plot there, I need plots with grouping variable in my app..
Walter Roberson
Walter Roberson am 27 Jun. 2022
Bearbeitet: Walter Roberson am 22 Okt. 2023
The document I linked to says to pass an axes to graphics functions. So pass your existing UIaxes to gscatter
Muazma Ali
Muazma Ali am 27 Jun. 2022
Thanks I will look at it! 👍

Melden Sie sich an, um zu kommentieren.

Antworten (2)

Image Analyst
Image Analyst am 27 Jun. 2022

0 Stimmen

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 Kommentare

Image Analyst
Image Analyst am 27 Jun. 2022
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 am 27 Jun. 2022
👍

Melden Sie sich an, um zu kommentieren.

Muazma Ali
Muazma Ali am 27 Jun. 2022

0 Stimmen

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 Kommentar

Image Analyst
Image Analyst am 28 Jun. 2022
No. I specifically said not to do that. You make your changes to the callback functions of the button, not the axes object.

Melden Sie sich an, um zu kommentieren.

Kategorien

Mehr zu Develop Apps Using App Designer finden Sie in Hilfe-Center und File Exchange

Gefragt:

am 27 Jun. 2022

Bearbeitet:

am 22 Okt. 2023

Community Treasure Hunt

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

Start Hunting!

Translated by