Til today I've been using geogebra to sketch functions for my students quizzes or homework. Sometimes I use the ones that I found searching in google, but this takes a lot of time specially because I have multiple courses and I need to diversify the tests, homework's, etc. Recently I found this image:

enter image description here

It's there a way to make this type of graph quickly without having to define five different functions and so on?

  • $\begingroup$ This is easy in Matlab. $\endgroup$
    – user5402
    Aug 23, 2018 at 15:22
  • $\begingroup$ Can you link to a website to make it easy as you say? $\endgroup$
    – Grouper
    Aug 23, 2018 at 16:34
  • $\begingroup$ Try this. $\endgroup$
    – user5402
    Aug 23, 2018 at 16:59
  • $\begingroup$ Wolfram alpha. $\endgroup$
    – user5402
    Aug 23, 2018 at 17:09

1 Answer 1


Have you used Graph? There, if you want piecewise functions, a quick way to do so is to select: Function $\rightarrow$ Insert Point Series, and type the coordinates of a point. Exit that environment, and while holding Select, just click other points on your graph. You can choose how to connect them (linear, half-cosine, cubic spline) and later change this interpolation style with a click.

For the holes in the graph, you'd still have to write a formula (Function $\rightarrow$ Insert Function), specifying whether it "ends" at a point or a hole.

Note: This is a Windows application, though you can get to run on Mac with Wine.

  • 1
    $\begingroup$ Note: It's somewhat primitive and a little clunky (and my LaTeX friends show me no respect for using it), but it's fast, easily plots relations like $x*y=cos(x)-x*y^2+y^3$, and once copied into Word, you can double click to edit a graph. $\endgroup$
    – Nick C
    Aug 23, 2018 at 16:47

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.