6

For my first real document, I have to create lorenz curves. Problem is, I'm pretty new to TeX and I have absolutely no clue about how I should go about this. A google search only reveals this has not been attempted by anyone else, so any help or pointers are welcome.

4
  • What do you have to plot the curves ? Equations ? Sets of values ? What you will need is the package pgfplot and you can use the axis environment.
    – LMT-PhD
    Apr 23, 2014 at 16:50
  • As indicated LMT-PhD, determine your equations, sets of values, then look at this question and answers: tex.stackexchange.com/q/164991/31034
    – user31034
    Apr 23, 2014 at 17:28
  • 1
    Welcome to TeX.SE! Do you have to create that curve from TeX or is it just the inclusion of such a curve from another program into a .tex file?
    – user31729
    Apr 23, 2014 at 17:40
  • @christian Hupfer, externally is totally fine, but I take that it is possible with only tex, so I will attempt that.
    – Azsgy
    Apr 23, 2014 at 17:42

1 Answer 1

7

You can easily do that with pstricks: the pst-func package has a special command for that. From the doc:

enter image description here

1
  • It took a while to understand what I was seeing, but this works very well.
    – Azsgy
    Apr 23, 2014 at 17:52

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .