Verified Commit 51cc6eff authored by Renato Alves's avatar Renato Alves 🌱
Browse files

Show corrected version of artifacts sine plot

parent 0b98a5e7
......@@ -526,8 +526,7 @@ Given `plot(X, Y)` it then takes a pair of coordinates from both variables as wi
>
> > ## Solution
> >
> > Using only `4` samples the curve doesn't look as smooth as before.
x = np.linspace(0, 2, 4)
> > Using `samples = 4` the curve doesn't look as smooth as before:
> > ![simple-plot with few datapoints](../fig/my-simple-plot-jagged-curve.png)
> >
> > And a sine plot would look like:
......@@ -549,10 +548,12 @@ x = np.linspace(0, 2, 4)
> > Notice also that as the values of `X` become larger,
> > the number of samples is not enough
> > and visual artifacts start to be noticeable in the `sine-cubic` plot.
> >
> > Using `samples = 1000` makes most of the artifacts disappear:
> > ![simple-sine plot without artifacts](../fig/my-sine-plot-more-samples.png)
> {: .solution }
{: .challenge }
### Histograms
~~~
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment