Changing settings to table.

Adsooi 2022-02-17 16:19:54 +00:00
parent 1d54392751
commit 85908472dd

@ -41,62 +41,169 @@ On that row, you can:
The Settings tab allows you to change how the diagram looks, and parameter the axes properly. It also features a few buttons you can also find in the menu bar.
List of settings:
- X Zoom:
- The zoom alongside the x-axis.
- Default value is 100.
- For non logarithmic scales, the number of pixels for a unit of 1.
- For logarithmic scales, represent one decade divided by 2.3.
- Y Zoom:
- The zoom alongside the ordinate, equivalent to the number of pixels for a unit of 1.
- Default value is 10.
- Min X:
- Minimum value to be drawn on the x-axis. In other words, it's the value of x on the left side of the graph.
- Default value is 0.5
- Max Y:
- Maximum value to be drawn on the y-axis. In other words, it's the value of y at the bottom of the graph.
- Default value is 25
- Max X:
- Minimum value to be drawn on the x-axis. In other words, it's the value of x on the right side of the graph.
- This value is dynamic depending on the width of the LogarithmPlotter window as well as the x zoom you've chosen.
- Setting this value will change the value of the x zoom to fit exactly to the specified dimensions.
- Min Y:
- Minimum value to be drawn on the y-axis. In other words, it's the value of y at the top of the graph.
- This value is dynamic depending on the height of the LogarithmPlotter window as well as the y zoom you've chosen.
- Setting this value will change the value of the y zoom to fit exactly to the specified dimensions.
- X Axis Step:
- Only for non logarithmic scale
- Step of the graduation for the x-axis.
- This value is an expression, you can use pi or e in it.
- Default value is 4.
- Y Axis Step:
- Step of the graduation for the y-axis.
- This value is an expression, you can use pi or e in it.
- Default value is 4.
- Line width:
- Width (percentage) of the the lines and circles of objects shown on the graph.
- For lines, it's directly the width of the line
- For circles, the diameters are 8 + 2 × line width.
- Default value is 1.
- Text size (px):
- Size in pixel of the text shown on the graph.
- Default value is 14.
- X Label:
- Label to be used on the x-axis
- Example: "x", "ω (rad/s)"...
- Editable, you can put any value you want, while maintaining an history of the previously used labels
- Note: this history is not saved with the file.
- Empty by default
- Y Label:
- Label to be used on the y-axis
- Example: "y", "Magnitude (dB)", "φ (°)", "φ (rad)", "φ (deg)" ...
- Editable, you can put any value you want, while maintaining an history of the previously used labels.
- Note: this history is not saved with the file.
- X Log Scale:
- When checked, the x-axis is represented with a logarthmic scale, otherwise, it's represented with a non logarithmic scale.
- Show X gradiation:
- When checked, will show the labels alongside the x-axis (10¹, 10², ...). Otherwise, they will be hidden.
- Show Y gradiation:
- When checked, will show the labels alongside the x-axis (0, 4, ...). Otherwise, they will be hidden.
<table>
<thead>
<th>Icon</th>
<th>Name</th>
<th>Default value</th>
<th>Definition</th>
</thead>
<tbody>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/xzoom.svg" alt="X Zoom icon"></td>
<td>X Zoom</td>
<td>100</td>
<td>
The zoom alongside the x-axis.
<ul>
<li>For non logarithmic scales, the number of pixels for a unit of 1.</li>
<li>For logarithmic scales, represent one decade divided by 2.3.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/yzoom.svg" alt="Y Zoom icon"></td>
<td>Y Zoom</td>
<td>10</td>
<td>
The zoom alongside the ordinate, equivalent to the number of pixels for a unit of 1.
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/xmin.svg" alt="Minimum X icon"></td>
<td>Min X</td>
<td>0.5</td>
<td>
Minimum value to be drawn on the x-axis. In other words, it's the value of x on the left side of the graph.
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/ymax.svg" alt="Maximum Y icon"></td>
<td>Max Y</td>
<td>25</td>
<td>
Maximum value to be drawn on the y-axis. In other words, it's the value of y at the bottom of the graph.
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/xmax.svg" alt="Maximum X icon"></td>
<td>Max X</td>
<td>Variable</td>
<td>
Minimum value to be drawn on the x-axis. In other words, it's the value of x on the right side of the graph.
<ul>
<li>This value is dynamic depending on the width of the LogarithmPlotter window as well as the x zoom you've chosen.</li>
<li>Setting this value will change the value of the x zoom to fit exactly to the specified dimensions.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/ymin.svg" alt="Minimum Y icon"></td>
<td>Min Y</td>
<td>Variable</td>
<td>
Minimum value to be drawn on the y-axis. In other words, it's the value of y at the top of the graph.
<ul>
<li>This value is dynamic depending on the height of the LogarithmPlotter window as well as the y zoom you've chosen.</li>
<li>Setting this value will change the value of the y zoom to fit exactly to the specified dimensions.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/xaxisstep.svg" alt="X Axis Step icon"></td>
<td>X Axis Step</td>
<td>4</td>
<td>
Step of the graduation for the x-axis.
<ul>
<li>Only for non logarithmic scale.</li>
<li>This value is an expression, you can use pi or e in it.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/yaxisstep.svg" alt="Y Axis Step icon"></td>
<td>Y Axis Step</td>
<td>4</td>
<td>
Step of the graduation for the y-axis.
<ul>
<li>This value is an expression, you can use pi or e in it.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/linewidth.svg" alt="Line width icon"></td>
<td>Line width</td>
<td>1</td>
<td>
Width (percentage) of the the lines and circles of objects shown on the graph.
<ul>
<li>For lines, it's directly the width of the line.</li>
<li>For circles, the diameters are 8 + 2 × line width.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/textsize.svg" alt="Text size icon"></td>
<td>Text size (px)</td>
<td>14</td>
<td>
Size in pixel of the text shown on the graph.
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/xlabel.svg" alt="X Label icon"></td>
<td>X Label</td>
<td>Empty</td>
<td>
Label to be used on the x-axis.
<ul>
<li>Example: "x", "ω (rad/s)"...</li>
<li>Editable, you can put any value you want, while maintaining an history of the previously used labels.</li>
<li>Note: this history is not saved with the file.</li>
</ul>
</td>
</tr>
<tr>
<td><img src="https://git.ad5001.eu/Ad5001/LogarithmPlotter/raw/branch/master/LogarithmPlotter/qml/eu/ad5001/LogarithmPlotter/icons/settings/ylabel.svg" alt="Y Label icon"></td>
<td>Y Label</td>
<td>Empty</td>
<td>
Label to be used on the y-axis.
<ul>
<li>Example: "y", "Magnitude (dB)", "φ (°)", "φ (rad)", "φ (deg)"...</li>
<li>Editable, you can put any value you want, while maintaining an history of the previously used labels.</li>
<li>Note: this history is not saved with the file.</li>
</ul>
</td>
</tr>
<tr>
<td></td>
<td>X Log Scale</td>
<td></td>
<td>
When checked, the x-axis is represented with a logarithmic scale, otherwise, it's represented with a non logarithmic scale.
</td>
</tr>
<tr>
<td></td>
<td>Show X gradiation</td>
<td></td>
<td>
When checked, will show the labels alongside the x-axis (10¹, 10², ... or 4, 8, ...). Otherwise, they will be hidden.
</td>
</tr>
<tr>
<td></td>
<td>Show Y gradiation</td>
<td></td>
<td>
When checked, will show the labels alongside the y-axis (0, 4, ...). Otherwise, they will be hidden.
</td>
</tr>
</tbody>
</table>
List of the buttons:
- Copy to clipboard: