Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit d15c94b

Browse files
committed
Deploying to master from @ 73e7627 πŸš€
1 parent d0e90a7 commit d15c94b

File tree

3 files changed

+4
-6
lines changed

3 files changed

+4
-6
lines changed

β€Žassets/menu1/filledStep.jlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,4 +4,4 @@ h = hist(x, bs = 0.1)
44
c = "#1E90FF"
55
@gp h.bins h.counts "with fillsteps tit 'data' lc '$(c)' fs solid 0.3 noborder"
66
@gp :- h.bins h.counts "with steps tit '' lc '$(c)' lw 2" "set grid"
7-
save(term="pngcairo size 600,400", output = "FilledStep.png")
7+
save(term="pngcairo size 600,400", output = "FilledStep.png") # hide

β€Žassets/menu1/stepPlot.jlβ€Ž

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@ x = randn(1000)
33
h = hist(x, bs = 0.1)
44
c = "#1E90FF"
55
@gp h.bins h.counts "with steps tit '' lc '$(c)' lw 2" "set grid"
6-
save(term="pngcairo size 600,400", output = "stepPlot.png")
6+
save(term="pngcairo size 600,400", output = "stepPlot.png") # hide

β€Žmenu1/index.htmlβ€Ž

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -279,14 +279,12 @@
279279
x = randn(<span class=hljs-number >1000</span>)
280280
h = hist(x, bs = <span class=hljs-number >0.1</span>)
281281
c = <span class=hljs-string >"#1E90FF"</span>
282-
<span class=hljs-meta >@gp</span> h.bins h.counts <span class=hljs-string >"with steps tit '' lc '<span class=hljs-subst >$(c)</span>' lw 2"</span> <span class=hljs-string >"set grid"</span>
283-
save(term=<span class=hljs-string >"pngcairo size 600,400"</span>, output = <span class=hljs-string >"stepPlot.png"</span>)</code></pre> <img src="/gnuplot-examples/assets/menu1/code/stepPlot.png" alt=""> <h1 id=filled_step ><a href="#filled_step">Filled step </a></h1> <pre><code class="julia hljs"><span class=hljs-keyword >using</span> Gnuplot, Random
282+
<span class=hljs-meta >@gp</span> h.bins h.counts <span class=hljs-string >"with steps tit '' lc '<span class=hljs-subst >$(c)</span>' lw 2"</span> <span class=hljs-string >"set grid"</span></code></pre> <img src="/gnuplot-examples/assets/menu1/code/stepPlot.png" alt=""> <h1 id=filled_step ><a href="#filled_step">Filled step </a></h1> <pre><code class="julia hljs"><span class=hljs-keyword >using</span> Gnuplot, Random
284283
x = randn(<span class=hljs-number >1000</span>)
285284
h = hist(x, bs = <span class=hljs-number >0.1</span>)
286285
c = <span class=hljs-string >"#1E90FF"</span>
287286
<span class=hljs-meta >@gp</span> h.bins h.counts <span class=hljs-string >"with fillsteps tit 'data' lc '<span class=hljs-subst >$(c)</span>' fs solid 0.3 noborder"</span>
288-
<span class=hljs-meta >@gp</span> :- h.bins h.counts <span class=hljs-string >"with steps tit '' lc '<span class=hljs-subst >$(c)</span>' lw 2"</span> <span class=hljs-string >"set grid"</span>
289-
save(term=<span class=hljs-string >"pngcairo size 600,400"</span>, output = <span class=hljs-string >"FilledStep.png"</span>)</code></pre> <img src="/gnuplot-examples/assets/menu1/code/filledStep.png" alt=""> <h1 id=plot_errors_box_plots_error_bars ><a href="#plot_errors_box_plots_error_bars">Plot errors, box plots, error bars</a></h1> <pre><code class="julia hljs"><span class=hljs-keyword >using</span> Gnuplot, Random
287+
<span class=hljs-meta >@gp</span> :- h.bins h.counts <span class=hljs-string >"with steps tit '' lc '<span class=hljs-subst >$(c)</span>' lw 2"</span> <span class=hljs-string >"set grid"</span></code></pre> <img src="/gnuplot-examples/assets/menu1/code/FilledStep.png" alt=""> <h1 id=plot_errors_box_plots_error_bars ><a href="#plot_errors_box_plots_error_bars">Plot errors, box plots, error bars</a></h1> <pre><code class="julia hljs"><span class=hljs-keyword >using</span> Gnuplot, Random
290288
Random.seed!(<span class=hljs-number >145</span>)
291289
x, y, yerr = <span class=hljs-number >1</span>:<span class=hljs-number >2</span>:<span class=hljs-number >20</span>, <span class=hljs-number >5</span>*rand(<span class=hljs-number >10</span>), <span class=hljs-number >0.4</span>*abs.(randn(<span class=hljs-number >10</span>))
292290
<span class=hljs-meta >@gp</span> x y yerr <span class=hljs-string >"w boxerrorbars t 'test' lc 'black'"</span>

0 commit comments

Comments
Β (0)