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.

Azsgy
  • 217
  • 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 '14 at 16:50
  • As indicated LMT-PhD, determine your equations, sets of values, then look at this question and answers: http://tex.stackexchange.com/q/164991/31034 –  Apr 23 '14 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? –  Apr 23 '14 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 '14 at 17:42

1 Answers1

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

Bernard
  • 271,350