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?
Learn LaTeX easily with newest books:
The LaTeX Beginner's Guide: 2nd edition and perfect for students writing a thesis
The LaTeX Cookbook: 2nd edition full of practical examples for mathematics, physics, chemistry, and more
LaTeX Graphics with TikZ: the first book about TikZ for perfect drawings in your LaTeX thesis
-
- 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.