necromancer
necromancer

Reputation: 24641

Octave does not plot correct face color of marker

What's wrong with my code?

octave:26> plot([1;2;3;4],[1;8;27;64], 'marker', 'o', 'linestyle', 'none', 'marker', 'o', 'markeredgecolor', 'red', 'markerfacecolor', 'black', 'markersize', 20);

It creates blue empty circles (with white background within the circles).

Version Info: GNU Octave, version 3.2.4

Upvotes: 4

Views: 3193

Answers (1)

andyras
andyras

Reputation: 15910

It may be a version issue. Here is what I get with the latest version (3.6.1): enter image description here

Are your colors inverted somehow? White and black are opposites, and red and blue are sort-of opposites. You may try different colors and see if they are systematically wrong. Does it work if you delete the edgecolor or facecolor specifications?

Upvotes: 3

Related Questions