Creating a function with varying numbers of input parameters
7 views (last 30 days)
Sebastian Daneli on 29 Sep 2020
I am writing a function to plot data for me in different ways. I would like to decide in which way to plot the data when i call the function. For example, if i write
then I would like the result to be a stem plot. If i were to write
then the result should be different, but nevertheless work.