Graphics, Figures & Tables ⇒ 'Clipped' sine curve in PGFPlots
-
- Posts: 6
- Joined: Mon Dec 10, 2012 4:50 pm
Re: 'Clipped' sine curve in PGFPlots
Just one final question - is it possible to add a second curve not restricted by the clipping?
NEW: TikZ book now 40% off at Amazon.com for a short time.
And: Currently, Packt sells ebooks for $4.99 each if you buy 5 of their over 1000 ebooks. If you choose only a single one, $9.99. How about combining 3 LaTeX books with Python, gnuplot, mathplotlib, Matlab, ChatGPT or other AI books? Epub and PDF. Bundle (3 books, add more for higher discount): https://packt.link/MDH5p
-
- Posts: 34
- Joined: Sun Oct 16, 2011 5:56 pm
Re: 'Clipped' sine curve in PGFPlots
Yes, you can add a second curve which is unaffected by the clipping.
It actually works with both types of clipping:
if you choose to use the \clip approach: the \clip statement applies to all plots AFTERWARDS.
if you choose to use the 'restrict y to domain' approach: just move this option into the option list of the affected \addplots.
Kind regards
Christian
@Stefan
Actually: yes, of course!
-
- Posts: 6
- Joined: Mon Dec 10, 2012 4:50 pm
Re: 'Clipped' sine curve in PGFPlots
Again, many thanks.