drawing in latex (picture environment) + arrows (xy package)

I wanted to draw arrows in LaTeX to make that predictor-outcome-confounder diagram I saw in class. I found an answer here using the xy package in LaTeX.

I used to want to draw in LaTeX. pgf and tiks looks cool, but the learning curve looks too steep for me. I opted to R’s plotting and openoffice’s drawing capabilities. However, I just discovered the picture environment in LaTeX, which is not hard at all! It is also described here.

I will post up some examples.

Here is the attached file. It is also at ScribD.

About Vinh Nguyen


1 comment

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>