gnuplot question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



I'm trying to use gnuplot with latex to create a nice looking graph that
demonstrates integration by rectangular approximation along the y axis.

The curve is drawn via parametric mode (has to be since there are
multiple y values per x value). I figured out I can use multiplot to
first plot the curve, then unset parametric to draw the bar graph - but
I can't figure out how to get horizontal bars instead of vertical bars.
Sure - I could theoretically use the gimp to manipulate an image created
by gnuplot - but I'd rather do it in gnuplot simply because gnuplot
integrates nicely with latex with respect to using latex formatting for
the math stuff.

The only other way I can think to do it would be to have gnuplot draw
the horizontal lines and then draw the vertical lines - but that seems
like a rather convoluted way of doing what *should* be as easy as having
it draw horizontal bar graphs.

Any ideas?


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux