Mercurial > web-octave
comparison index.md @ 213:370d7d0cdf7d
Fix layout at different default font sizes.
* css/app.css: remove modification of Foundation framework.
* _layouts/default.html: Remove unnecessary whitespace. Add blind paragraph
at footer to get a visible space at the website bottom. That was the original
intention of the change of the Foundation framework in css/app.css.
* index.md: use "auto" size for remaining grid cells.
author | Kai T. Ohlhus <k.ohlhus@gmail.com> |
---|---|
date | Mon, 20 Jul 2020 16:08:24 +0900 |
parents | 9b413d0dedde |
children |
comparison
equal
deleted
inserted
replaced
212:00f45be432e1 | 213:370d7d0cdf7d |
---|---|
17 <a href="#" data-open="meshModal"> | 17 <a href="#" data-open="meshModal"> |
18 <img src="{{ "/img/example-mesh.svg" | relative_url }}" | 18 <img src="{{ "/img/example-mesh.svg" | relative_url }}" |
19 style="height: 400px; width: auto;" alt="Example mesh"> | 19 style="height: 400px; width: auto;" alt="Example mesh"> |
20 </a> | 20 </a> |
21 </div> | 21 </div> |
22 <div class="cell medium-6"> | 22 <div class="cell auto"> |
23 <h2 class="landing-page-logo"> | 23 <h2 class="landing-page-logo"> |
24 <img src="{{ "/img/octave-logo.svg" | relative_url }}" | 24 <img src="{{ "/img/octave-logo.svg" | relative_url }}" |
25 style="float: left; height: 48px; width: auto; padding-right: 0.5rem" | 25 style="float: left; height: 48px; width: auto; padding-right: 0.5rem" |
26 alt="GNU Octave logo"> | 26 alt="GNU Octave logo"> |
27 GNU Octave | 27 GNU Octave |
53 <p> | 53 <p> |
54 Solve systems of equations with linear algebra operations on | 54 Solve systems of equations with linear algebra operations on |
55 <strong>vectors</strong> and <strong>matrices</strong>. | 55 <strong>vectors</strong> and <strong>matrices</strong>. |
56 </p> | 56 </p> |
57 </div> | 57 </div> |
58 <div class="cell medium-8"> | 58 <div class="cell auto"> |
59 {% highlight octave %} | 59 {% highlight octave %} |
60 b = [4; 9; 2] # Column vector | 60 b = [4; 9; 2] # Column vector |
61 A = [ 3 4 5; | 61 A = [ 3 4 5; |
62 1 3 1; | 62 1 3 1; |
63 3 5 9 ] | 63 3 5 9 ] |
71 <p> | 71 <p> |
72 Visualize data with <strong>high-level plot commands</strong> | 72 Visualize data with <strong>high-level plot commands</strong> |
73 in 2D and 3D. | 73 in 2D and 3D. |
74 </p> | 74 </p> |
75 </div> | 75 </div> |
76 <div class="cell medium-8"> | 76 <div class="cell auto"> |
77 {% highlight octave %} | 77 {% highlight octave %} |
78 x = -10:0.1:10; # Create an evenly-spaced vector from -10..10 | 78 x = -10:0.1:10; # Create an evenly-spaced vector from -10..10 |
79 y = sin (x); # y is also a vector | 79 y = sin (x); # y is also a vector |
80 plot (x, y); | 80 plot (x, y); |
81 title ("Simple 2-D Plot"); | 81 title ("Simple 2-D Plot"); |