[OS X TeX] Gnuplot call from within pgfplot
Victor Ivrii
vivrii at gmail.com
Fri Sep 13 08:19:30 EDT 2013
On Fri, Sep 13, 2013 at 7:08 AM, Joshua Smith <smithjh at lafayette.edu> wrote:
> \begin{tikzpicture}
> \begin{axis}[xmin=0, xmax=0.011, ymin=0, ymax=1.1, scaled x ticks=base
> 10:3, xtick scale label code/.code={}]
> \addplot[\red, very thick] gnuplot[id=convection10, domain=0:0.010,
> samples=100] {(cosh(sqrt(4 * 100 / 14 / 0.005) * (0.010 - x)) + (100 /
> sqrt(4 * 100 / 14 / 0.005) / 14) * sinh(sqrt(4 * 100 / 14 / 0.005) * (0.010
> - x))) / (cosh(sqrt(4 * 100 / 14 / 0.005) * 0.010) + (100 / sqrt(4 * 100 /
> 14 / 0.005) / 14) * sinh(sqrt(4 * 100 / 14 / 0.005) * 0.010))};
> \end{axis}
> \end{tikzpicture}
>
You may want to replace \red by red in your plot: \addplot[\red
--
Victor Ivrii
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <https://email.esm.psu.edu/pipermail/macosx-tex/attachments/20130913/00169580/attachment.html>
More information about the MacOSX-TeX
mailing list