How to plot functions

How can i plot functions like for ex. f(x)=x*2? Is there a simple way for this? I’m currently trying to create a plot for my waveshaper.