14/11/2020

About the Author

Thanks for reading this, reviewer. My name is D. and I’m going to convince you of how awesome this app is. As you can see, I’m a bit of a vague figure.

Motivation

Sometimes, a formula is not enough for me to visualize how the equation would look like so I made this handy shiny app called plotter.

(pause for applause)

The idea is simple, you write down a formula (i.e. x^2+2*x+2) and define a space where you want to see it plotted (x between -5 and 5)

and voila.

Code

x <- seq(-5,5, length.out = 100)
y <- eval(parse(text='x^2+2*x+2'))
plot(x,y, type = "l")

Conclusions

  • I’ve made a plotter and put it on the internet and it feels like I can do magic
  • This plotter can be used to 2D plot simple equations with x as an only variable
  • Ta-dá