I am a LyX user and I would like to use a line plot in one of my papers. This is simply a line with few identified points. For me the points of interest are 24, 32 and 38. Could you please tell what is the easiest way to accomplish this? I have heard about the packaged pgfplots but I do not know how to use it. It also seems an overkill for my case.
All suggestions are welcome, thank you in advance.
Best Answer
You can use
tikz
for simple drawings such as this:If you are doing these types of figure often, then it makes sense to wrap them in a macro where you can define
#1
= the start value,#2
= end value, and the#3
= list of points to mark.Then,
yields:
Code: Basic Version
Code: Macro Version