Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

I'm plotting two lines, more or less on top of each other. This is fine when you can see the colors, but not on a black and white print.

I have added marks, but due to the data points being take with the same interval the marks are also on top of each other. Is there a way to shift the markers of each added plot, so they are NOT on top on each other.

share|improve this question
    
If you get the data from i.e. Matlab, one way to do this is to use something ala plot(x(1:3:end),f(x(1:3:end)),'bx',x(1:5:end),f2(x(1:5:end)),'ro') where i.e. x = -pi:0.01:pi; f = @(x)sin(x); f2 = @(x)sin(x); So if you store the data in the same manner it should be a quite easy fix. –  militiaOfDeath Jun 5 '12 at 13:29

1 Answer 1

The function, I found out, is called mark phase = x. It shifts the mark x data points. Must be used together with mark repeat={y}, else you will just shift the markers onto another mark.

share|improve this answer

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.