Plot inside a function

Call display() on the plot object (there are other ways, see: The plot (with Plots pkg) not displayed, if plot(...) is not the last operator)

1 Like