Plotting simple sin function¶
A simple example of the plot of a sin function in order to test the autonomy of the gallery.
To illustrate how to insert maths in example descriptions, it corresponds mathematically to the function:
Here the function \(\sin\) is evaluated at each point the variable \(x\) is defined.
sphinx-gallery automatically creates labels for each example from
its filename. You can thus refer to it from any part of the documentation,
including from other examples, as here
Plotting simple sin function on a black background for a fancier plot
Total running time of the script: ( 0 minutes 0.146 seconds)