R2018b gscatter marker issue
Show older comments
I just updated to R2018b (from R2017b) and suddenly gscatter plots markers as squares by default.
How can I get back to circles?
(and not by specifying 'Marker' in every instance)
2 Comments
SatyaPrakash Gupta
on 26 Nov 2019
Hi,
I am beginner to MatLab and have one question as below:
Question :
- i have 2 matlab script file , one has GUI and the other has normal function definition for plotting the figure. when my GUI opens, in the edit text box, i enter the value and my function works accordingly i.e figure get plotted.
Problem : everytime when i update the text box, each time new figure gets open and there are nearly 8 figures, how can i update the figures when new text data is provided ?
Please note : i use scatter, gscatter, dbscan etc for each figure to get plotted
Your feedback will help me out to procced with my current activity.
thank you and waiting for your feedback.
Regards,
Satya
Walter Roberson
on 26 Nov 2019
You asked that at https://www.mathworks.com/matlabcentral/answers/493213-continues-update-of-figure-with-new-data-entered-mannually-from-gui which is a better place for it.
Accepted Answer
More Answers (5)
Cris LaPierre
on 20 Dec 2018
Edited: Cris LaPierre
on 20 Dec 2018
Interesting. The default is circles for me. Still you can set the symbol in the call statement using the
gscatter(x,y,g,clr,sym,siz) syntax.
load carsmall
gscatter(Displacement,Horsepower,Model_Year,[],'o')
madhan ravi
on 20 Dec 2018
Edited: madhan ravi
on 20 Dec 2018
My default is also a circle ,
if you want you can edit the default marker as such:
edit gscatter % change the marker (i.e. wherever you find sym= or sym== put your favourite marker) to which one you like
1 Comment
madhan ravi
on 21 Dec 2018
If you are still facing the issue then the best way is to contact Mathworks Support Team by clicking the Contact Us button on the top right corner of this page.
Erik Lorentzen
on 21 Dec 2018
0 votes
2 Comments
madhan ravi
on 21 Dec 2018
what showed up for sym when you tried edit gscatter ?
Cris LaPierre
on 21 Dec 2018
load carsmall
gscatter(Weight,MPG,Model_Year)
It should look like this

Erik Lorentzen
on 21 Dec 2018
0 votes
3 Comments
madhan ravi
on 21 Dec 2018
Anytime :) , if my answer helped make sure to accept my answer.
Erik Lorentzen
on 21 Dec 2018
Cris LaPierre
on 21 Dec 2018
Edited: Cris LaPierre
on 21 Dec 2018
I've escalated this to tech support. Is it possible for you to share your code and data? Use the paperclip icon to attach them to one of your posts.
SatyaPrakash Gupta
on 19 Nov 2019
Hi,
I am using MATLAB R2016b , gscatter function is support with this version ?
I always see there is an error as below
" Undefined function 'gscatter' for input arguments of type 'double' "
Even i tried the matlab example as below
load carsmall
gscatter(Displacement,Horsepower,Model_Year)
and i get "Undefined function 'gscatter' for input arguments of type 'double' "
can you please do help me out to resolve this problem ?
thank you.
Regards,
Satya
4 Comments
Walter Roberson
on 19 Nov 2019
Yes, gscatter() was available from R2006b or perhaps earlier. https://www.mathworks.com/help/releases/R2016b/stats/gscatter.html
However it is part of the Statistics Toolbox and I suspect you do not have the Statistics Toolbox.
SatyaPrakash Gupta
on 19 Nov 2019
Hi ,
Thank you very much with your quick feedback, I am working in Bosch and i have Matlab licence but i wonder how i do not have Statistics ToolBox , could you please do help me out how to get the Statistics ToolBox.
Regards,
Satya
Walter Roberson
on 19 Nov 2019
I do not know if it is possible to purchase new licenses for the Statistics Toolbox. You should probably ask your license administrator whether they already happen to have a license that they could make available to you.
SatyaPrakash Gupta
on 19 Nov 2019
Edited: SatyaPrakash Gupta
on 19 Nov 2019
Thank you so much, i have reqested to purchase new licenses for Tatistics ToolBox. Thank you again
Categories
Find more on F Distribution in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!

