|
From: Konstantin L. <ko...@ko...> - 2012-09-25 07:07:14
|
Thank you Thomas and Marek, division by zero is the solution. On 09/24/2012 04:38 PM, Thomas Sefzick wrote: > Konstantin Lübeck <konze <at> konze.org> writes: > >> I would like to plot a function with a jump discontinuity. I've figured >> out that I can use an if-then-else operator. Here is an example: >> >> gnuplot> f(x) = f(x) = (x<2) ? x**2 : 1 >> >> This works fine but I don't want a line between those functions. > > plot two functions: > > plot (x<2)?x**2:0/0 linetype 1, (x>=2)?1.:0/0 linetype 1 > > > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > gnuplot-info mailing list > gnu...@li... > https://lists.sourceforge.net/lists/listinfo/gnuplot-info > -- PGP erwünscht, ich bin gerne zum Key-Austausch bereit. Konstantin Lübeck |