Skip to content

Commit 5088bad

Browse files
authored
Simplify plot call in README
1 parent 6dd1e35 commit 5088bad

File tree

1 file changed

+2
-5
lines changed

1 file changed

+2
-5
lines changed

README.md

Lines changed: 2 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,10 +12,7 @@ using FresnelIntegrals
1212
using Plots
1313

1414
z = -30:0.001:30
15-
plot(x->real(fresnelc(x)), x->real(fresnels(x)),z,legend=false)
16-
title!("Euler Spiral")
17-
xlabel!("C(z)")
18-
ylabel!("S(z)")
15+
plot(fresnelc, fresnels, z; legend=false, title="Euler Spiral", xlabel="C(z)", ylabel="S(z)")
1916
```
2017
![Spiral](Spiral.png)
2118

@@ -48,4 +45,4 @@ BenchmarkTools.Trial: 10000 samples with 187 evaluations.
4845
548 ns Histogram: log(frequency) by time 754 ns <
4946

5047
Memory estimate: 368 bytes, allocs estimate: 2.
51-
```
48+
```

0 commit comments

Comments
 (0)