File:X^2+sign(x).pdf

Summary

Description
English: Graph of the discontinuous function f(x)=x2+sign(x)
Date
Source Own work
Author Jochen Burghardt
Other versions File:X^2+sign(x).pdf * File:X^2+sign(x).svg
Gnuplot source
set xrange[-3:3]
set yrange [-1.5:10.5]
set xtics 1
set ytics 1
set grid
set key left top 

set arrow from  0 , -1.5 to 0 , 10.5 nohead lt 8
set arrow from -3 ,  0   to 3 ,  0   nohead lt 8
set object 1 circle at first 0,0 radius first .02 fc lt 1 fillstyle solid front

   plot                 0          with lines lt 0 lw 0 title ""
 replot [x= 1e-9:3    ] sgn(x)+x*x with lines lt 1 lw 2 title "x^2 + sign(x)"
 replot [x=-3   :-1e-9] sgn(x)+x*x with lines lt 1 lw 2 title ""
pause -1

Licensing

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
attribution share alike
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
You are free:
  • to share – to copy, distribute and transmit the work
  • to remix – to adapt the work
Under the following conditions:
  • attribution – You must give appropriate credit, provide a link to the license, and indicate if changes were made. You may do so in any reasonable manner, but not in any way that suggests the licensor endorses you or your use.
  • share alike – If you remix, transform, or build upon the material, you must distribute your contributions under the same or compatible license as the original.
Category:CC-BY-SA-4.0#X^2+sign(x).pdf
Category:Self-published work Category:Discontinuous functions Category:Files by User:Jochen Burghardt Category:Images with Gnuplot source code
Category:CC-BY-SA-4.0 Category:Discontinuous functions Category:Files by User:Jochen Burghardt Category:Images with Gnuplot source code Category:Self-published work