Octave: print multiple plots shows only one plot

Viewed 361

This

t = [1:100];
plot(t,t.^2,'b')
hold on
plot(t,t,'og','markersize',5.0)
print -depsc 'test'

works as expected, the eps generated looks like this: enter image description here

However, when I want to change the face colour of the markers, the blue graph dissapears!

t = [1:100];
plot(t,t.^2,'b')
hold on
plot(t,t,'og','markersize',5.0,'markerfacecolor','g') % >markerfacecolor<
print -depsc 'test'

The eps now is:

enter image description here

What's the problem?

The figures (windows) show both versions correctly, the problem is the print part.

1 Answers
Related