From: Janina Esins on
Hello :)

I have a similar problem, but different enough that this solution doesn't work for me :(
I have a 63x7 matrix which I want to plot, so I have 7 different lines with 63 points each in my plot. But I just want to use markers instead of lines, and I want them to be filled.
So my code so far is

plot(fancy-63x7-matrix,'o');

(Of course it's a bit more complicated. For example I wanted the markers to jitter a bit to not overlap. Therefore I added some random small noise to it, because I also couldn't find any jitter function. If there is one and you could tell me, I would be glad as well)

But back to the original problem. Is there a way to fill the markers? (I guess there is. I just couldn't find any, neither by searching the help, nor the internet)

Thanks a lot , and have a nice day :)
From: Janina Esins on
Hello :)

I have a similar problem, but different enough that this solution doesn't work for me :(
I have a 63x7 matrix which I want to plot, so I have 7 different lines with 63 points each in my plot. But I just want to use markers instead of lines, and I want them to be filled.
So my code so far is

plot(fancy-63x7-matrix,'o');

(Of course it's a bit more complicated. For example I wanted the markers to jitter a bit to not overlap. Therefore I added some random small noise to it, because I also couldn't find any jitter function. If there is one and you could tell me, I would be glad as well)

But back to the original problem. Is there a way to fill the markers? (I guess there is. I just couldn't find any, neither by searching the help, nor the internet)

Thanks a lot , and have a nice day :)
From: Janina Esins on
Ok, I found a solution, and it's quite easy and kind of whatever, that I didn't thought of it in the first place.

Instead of circle markers I just use point - markers and increase their size:

plot(fancy-63x7-matrix,'.','MarkerSize',16);

Maybe it helps if someone else is "standing on the line".

Have a nice day :)
From: Walter Roberson on
Janina Esins wrote:

> I have a 63x7 matrix which I want to plot, so I have 7 different lines
> with 63 points each in my plot. But I just want to use markers instead
> of lines, and I want them to be filled.
> So my code so far is
>
> plot(fancy-63x7-matrix,'o');

plot(fancy_63x7_matrix,'o','MarkerFaceColor','o')
 | 
Pages: 1
Prev: TolX
Next: Issues with Matlab Figure