Re: Plot with covering
hchiPer <[email protected]> Sat, 18 Mar 2023 07:26:26 +0100
| Newsgroups | gmane.comp.graphics.gnuplot.user |
|---|---|
| Message-ID | <[email protected]> |
I don't see any attachment. Maybe what you want is something like this? curve(x) = (x - 2)**2 + 3 hline(x, y) = curve(x) > y ? 1/0 : y plot curve(x), hline(x, 25), hline(x, 75), hline(x, 125) There are sometimes gaps visible at the ends of the horizontal lines, due to the sampling gnuplot makes within the xrange. You can make them almost invisible using set sample 1000 # or higher value, at your whish Le 16/03/23 à 17:23, Patrick Dupre a écrit : > Hello, > > Is there is an option to plot a similar figure to that I am attaching? > Typically, I have y values (horizontal lines) that I wish to limit the > display by a curve > > Thank > > =========================================================================== > Patrick DUPRÉ | | email: [email protected] > Laboratoire interdisciplinaire Carnot de Bourgogne > 9 Avenue Alain Savary, BP 47870, 21078 DIJON Cedex FRANCE > Tel: +33 (0)380395988 | | Room# D114A > =========================================================================== > > _______________________________________________ > gnuplot-info mailing list > [email protected] > Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info _______________________________________________ gnuplot-info mailing list [email protected] Membership management via: https://lists.sourceforge.net/lists/listinfo/gnuplot-info