1
0
mirror of https://gitlab.com/Anson-Projects/projects.git synced 2025-08-02 11:31:27 +00:00

fix image scaling

This commit is contained in:
2021-05-03 21:54:09 -07:00
parent bd67c9682a
commit 3da697bfeb
10 changed files with 22 additions and 26 deletions

Binary file not shown.

Before

Width:  |  Height:  |  Size: 22 KiB

After

Width:  |  Height:  |  Size: 16 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 48 KiB

After

Width:  |  Height:  |  Size: 29 KiB

View File

@@ -104,8 +104,8 @@ code span.wa { color: #5e5e5e; font-style: italic; } /* Warning */
<meta property="og:description" content="Simulating the performance of an air propulsion system as an alternative to solid rocket motors."/>
<meta property="og:url" content="https://projects.ansonbiggs.com/posts/2021-04-01-air-propulsion-simulation/"/>
<meta property="og:image" content="https://projects.ansonbiggs.com/posts/2021-04-01-air-propulsion-simulation/air-propulsion-simulation_files/figure-html5/unnamed-chunk-7-J1.png"/>
<meta property="og:image:width" content="1200"/>
<meta property="og:image:height" content="800"/>
<meta property="og:image:width" content="600"/>
<meta property="og:image:height" content="400"/>
<meta property="og:locale" content="en_US"/>
<meta property="og:site_name" content="Anson&#39;s Projects"/>
@@ -115,8 +115,8 @@ code span.wa { color: #5e5e5e; font-style: italic; } /* Warning */
<meta property="twitter:description" content="Simulating the performance of an air propulsion system as an alternative to solid rocket motors."/>
<meta property="twitter:url" content="https://projects.ansonbiggs.com/posts/2021-04-01-air-propulsion-simulation/"/>
<meta property="twitter:image" content="https://projects.ansonbiggs.com/posts/2021-04-01-air-propulsion-simulation/air-propulsion-simulation_files/figure-html5/unnamed-chunk-7-J1.png"/>
<meta property="twitter:image:width" content="1200"/>
<meta property="twitter:image:height" content="800"/>
<meta property="twitter:image:width" content="600"/>
<meta property="twitter:image:height" content="400"/>
<!-- https://scholar.google.com/intl/en/scholar/inclusion.html#indexing -->
<meta name="citation_title" content="Anson&#39;s Projects: Air Propulsion Simulation"/>
@@ -2218,11 +2218,10 @@ Show code
<span id="cb6-11"><a href="#cb6-11" aria-hidden="true" tabindex="-1"></a> fillalpha<span class="op">=</span><span class="fl">.2</span><span class="op">,</span>label<span class="op">=</span><span class="st">&quot;Thrust&quot;</span><span class="op">,</span></span>
<span id="cb6-12"><a href="#cb6-12" aria-hidden="true" tabindex="-1"></a> xlabel<span class="op">=</span><span class="st">&quot;Time (s)&quot;</span><span class="op">,</span> </span>
<span id="cb6-13"><a href="#cb6-13" aria-hidden="true" tabindex="-1"></a> ylabel<span class="op">=</span><span class="st">&quot;Thrust (N)&quot;</span><span class="op">,</span></span>
<span id="cb6-14"><a href="#cb6-14" aria-hidden="true" tabindex="-1"></a> size <span class="op">=</span> (<span class="fl">1200</span><span class="op">,</span> <span class="fl">800</span>)<span class="op">,</span></span>
<span id="cb6-15"><a href="#cb6-15" aria-hidden="true" tabindex="-1"></a> )</span></code></pre></div>
<span id="cb6-14"><a href="#cb6-14" aria-hidden="true" tabindex="-1"></a> )</span></code></pre></div>
</details>
<div class="figure"><span id="fig:unnamed-chunk-6"></span>
<img src="air-propulsion-simulation_files/figure-html5/unnamed-chunk-6-J1.png" alt="Air Proplsion Simulation" width="600" />
<img src="air-propulsion-simulation_files/figure-html5/unnamed-chunk-6-J1.png" alt="Air Proplsion Simulation" width="300" />
<p class="caption">
Figure 1: Air Proplsion Simulation
</p>
@@ -2240,7 +2239,7 @@ Show code
<span id="cb7-4"><a href="#cb7-4" aria-hidden="true" tabindex="-1"></a>g8 <span class="op">=</span> CSV.<span class="cn">read</span>(<span class="st">&quot;AeroTech_G8ST.csv&quot;</span><span class="op">,</span> DataFrame)<span class="op">;</span></span>
<span id="cb7-5"><a href="#cb7-5" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb7-6"><a href="#cb7-6" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb7-7"><a href="#cb7-7" aria-hidden="true" tabindex="-1"></a>plot(air.<span class="dt">Time</span><span class="op">,</span> air.Thrust<span class="op">,</span> label<span class="op">=</span><span class="st">&quot;Air Propulsion&quot;</span><span class="op">,</span> fillalpha<span class="op">=</span><span class="fl">.1</span><span class="op">,</span> legend<span class="op">=:</span>topleft<span class="op">,</span> size <span class="op">=</span> (<span class="fl">1200</span><span class="op">,</span> <span class="fl">800</span>))<span class="op">;</span></span>
<span id="cb7-7"><a href="#cb7-7" aria-hidden="true" tabindex="-1"></a>plot(air.<span class="dt">Time</span><span class="op">,</span> air.Thrust<span class="op">,</span> label<span class="op">=</span><span class="st">&quot;Air Propulsion&quot;</span><span class="op">,</span> legend<span class="op">=:</span>topleft)<span class="op">;</span></span>
<span id="cb7-8"><a href="#cb7-8" aria-hidden="true" tabindex="-1"></a></span>
<span id="cb7-9"><a href="#cb7-9" aria-hidden="true" tabindex="-1"></a><span class="kw">for</span> (d<span class="op">,</span> l) <span class="kw">in</span> [(f10<span class="op">,</span> <span class="st">&quot;F10&quot;</span>)<span class="op">,</span> (f15<span class="op">,</span> <span class="st">&quot;F15&quot;</span>)<span class="op">,</span> (g8<span class="op">,</span> <span class="st">&quot;G8ST&quot;</span>)]</span>
<span id="cb7-10"><a href="#cb7-10" aria-hidden="true" tabindex="-1"></a> plot<span class="op">!</span>(d[<span class="op">!,</span><span class="st">&quot;Time (s)&quot;</span>]<span class="op">,</span> d[<span class="op">!,</span> <span class="st">&quot;Thrust (N)&quot;</span>]<span class="op">,</span> label<span class="op">=</span>l)<span class="op">;</span></span>
@@ -2251,7 +2250,7 @@ Show code
<span id="cb7-15"><a href="#cb7-15" aria-hidden="true" tabindex="-1"></a>ylabel<span class="op">!</span>(<span class="st">&quot;Thrust (N)&quot;</span>)</span></code></pre></div>
</details>
<div class="figure"><span id="fig:unnamed-chunk-7"></span>
<img src="air-propulsion-simulation_files/figure-html5/unnamed-chunk-7-J1.png" alt="Rocket Motor Data: [@thrustcurve]" width="600" data-distill-preview=1 />
<img src="air-propulsion-simulation_files/figure-html5/unnamed-chunk-7-J1.png" alt="Rocket Motor Data: [@thrustcurve]" width="300" data-distill-preview=1 />
<p class="caption">
Figure 2: Rocket Motor Data: <span class="citation" data-cites="thrustcurve">(<a href="#ref-thrustcurve" role="doc-biblioref">Coker, n.d.</a>)</span>
</p>

File diff suppressed because one or more lines are too long