how to use surf function instead of gscatter?

2 views (last 30 days)
Muazma Ali
Muazma Ali on 31 Jul 2022
Edited: Adam Danz on 2 Aug 2022
Hi!
I am trying to find alternatives of using gscatter function as I dont want to buy the machine learning tool box that can make it possible to use the gscatter function. Therefore, I searched a little and found that I could use the surf function.
How can I use the surf function on the table attached if I want to group my data ( x= samlet_vannaktivitet, y= osmotisk_trykk) meaning have my z value equal to zone_number?
  6 Comments
Muazma Ali
Muazma Ali on 2 Aug 2022
@Adam Danz what is then the difference between scatter and gscatter function..?
Adam Danz
Adam Danz on 2 Aug 2022
Edited: Adam Danz on 2 Aug 2022
scatter - creates a scatter plot
gscatter - creates a scatter plot of grouped data
Read the documentation within the links for more info.

Sign in to comment.

Answers (0)

Community Treasure Hunt

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

Start Hunting!