Discover MakerZone

MATLAB and Simulink resources for Arduino, LEGO, and Raspberry Pi

Learn more

Discover what MATLAB® can do for your career.

Opportunities for recent engineering grads.

Apply Today

Thread Subject:
Scatter plot marker size

Subject: Scatter plot marker size

From: Chuck37

Date: 13 Dec, 2012 18:12:08

Message: 1 of 4

I've been successfully using scatter on my Linux box to do scatter plots with a constant marker size. 3 point seemed to work there.

Now I'm trying to run the same scripts on Windows and the markers are these fairly huge diamonds. I'm using filled circles theoretically. If I switch from 3 to 2 it goes to a nearly invisible single pixel marker. I tried non-integer values but it makes no difference.

Is there a way out of this? I'd really like to have the same look for a presentation I'm working on. Thanks.

Subject: Scatter plot marker size

From: Image Analyst

Date: 17 Dec, 2012 01:58:06

Message: 2 of 4

"Chuck37" wrote in message <kad5po$qnn$1@newscl01ah.mathworks.com>...
> I've been successfully using scatter on my Linux box to do scatter plots with a constant marker size. 3 point seemed to work there.
>
> Now I'm trying to run the same scripts on Windows and the markers are these fairly huge diamonds. I'm using filled circles theoretically. If I switch from 3 to 2 it goes to a nearly invisible single pixel marker. I tried non-integer values but it makes no difference.
>
> Is there a way out of this? I'd really like to have the same look for a presentation I'm working on. Thanks.
=====================================================
It goes from really huge to nearly invisible just upon going from 3 to 2? Strange. You can fine tune it a bit using the 'MarkerEdgeColor' property.

Subject: Scatter plot marker size

From: Marc

Date: 19 Dec, 2012 05:46:09

Message: 3 of 4

"Image Analyst" wrote in message <kalu7e$rt7$1@newscl01ah.mathworks.com>...
> "Chuck37" wrote in message <kad5po$qnn$1@newscl01ah.mathworks.com>...
> > I've been successfully using scatter on my Linux box to do scatter plots with a constant marker size. 3 point seemed to work there.
> >
> > Now I'm trying to run the same scripts on Windows and the markers are these fairly huge diamonds. I'm using filled circles theoretically. If I switch from 3 to 2 it goes to a nearly invisible single pixel marker. I tried non-integer values but it makes no difference.
> >
> > Is there a way out of this? I'd really like to have the same look for a presentation I'm working on. Thanks.
> =====================================================
> It goes from really huge to nearly invisible just upon going from 3 to 2? Strange. You can fine tune it a bit using the 'MarkerEdgeColor' property.

When you went to the other OS, is this with the same monitor? Probably more important (although I am simply guessing) is the graphics configuration, monitor, drivers, graphics card?

I noticed my figures were completely different using my same work laptop but having them rendered on a 4x3 monitor versus the laptop's hi res, wide screen. Windows xp and 7. Believe it or not the 4x3 scaled my figures better into PowerPoint.

This also seems to be the case on my Macs. Hi res, 15" Mac book pro (2012, non retina) really makes some of my figures lines disappear. Late 2008 iMac 21" seems less affected. No 100% fix that I have come up with yet but I am still playing with the various plot properties and I am getting closer.

Thing that sucks so far is that it seems like there is not a one size fits all. Unfortunately, work "upgraded" me to these hi def, dell wide screen external monitors for our desks and I had to give the 4x3 HP monitor 19" back throwing all of my figures off at work.....

Anyway, if I come up with a better answer I will post again. Otherwise my advice is similar to image's and you have to play with all of the plot options, size, edge color, shape and rgb values.

Subject: Scatter plot marker size

From: Chuck37

Date: 20 Dec, 2012 17:33:09

Message: 4 of 4

Same monitor, but graphics cards etc. would be totally different. I think screen res is constant though. I swear it is rendering differently. I can look closely and see multiple pixels making up the little "diamonds" (I selected filled circles). The versions of MATLAB are one rev apart, so maybe that's part of it.

Best solution was to change to little hexagons or something like that to make it look similar. It's apparent in my Powerpoint briefing that they are not the same kind of scatter plots though.

"Marc" wrote in message <karkb1$nps$1@newscl01ah.mathworks.com>...
> "Image Analyst" wrote in message <kalu7e$rt7$1@newscl01ah.mathworks.com>...
> > "Chuck37" wrote in message <kad5po$qnn$1@newscl01ah.mathworks.com>...
> > > I've been successfully using scatter on my Linux box to do scatter plots with a constant marker size. 3 point seemed to work there.
> > >
> > > Now I'm trying to run the same scripts on Windows and the markers are these fairly huge diamonds. I'm using filled circles theoretically. If I switch from 3 to 2 it goes to a nearly invisible single pixel marker. I tried non-integer values but it makes no difference.
> > >
> > > Is there a way out of this? I'd really like to have the same look for a presentation I'm working on. Thanks.
> > =====================================================
> > It goes from really huge to nearly invisible just upon going from 3 to 2? Strange. You can fine tune it a bit using the 'MarkerEdgeColor' property.
>
> When you went to the other OS, is this with the same monitor? Probably more important (although I am simply guessing) is the graphics configuration, monitor, drivers, graphics card?
>
> I noticed my figures were completely different using my same work laptop but having them rendered on a 4x3 monitor versus the laptop's hi res, wide screen. Windows xp and 7. Believe it or not the 4x3 scaled my figures better into PowerPoint.
>
> This also seems to be the case on my Macs. Hi res, 15" Mac book pro (2012, non retina) really makes some of my figures lines disappear. Late 2008 iMac 21" seems less affected. No 100% fix that I have come up with yet but I am still playing with the various plot properties and I am getting closer.
>
> Thing that sucks so far is that it seems like there is not a one size fits all. Unfortunately, work "upgraded" me to these hi def, dell wide screen external monitors for our desks and I had to give the 4x3 HP monitor 19" back throwing all of my figures off at work.....
>
> Anyway, if I come up with a better answer I will post again. Otherwise my advice is similar to image's and you have to play with all of the plot options, size, edge color, shape and rgb values.

Tags for this Thread

No tags are associated with this thread.

What are tags?

A tag is like a keyword or category label associated with each thread. Tags make it easier for you to find threads of interest.

Anyone can tag a thread. Tags are public and visible to everyone.

Contact us