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. 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: List of settings:
- X Zoom: <table>
- The zoom alongside the x-axis. <thead>
- Default value is 100. <th>Icon</th>
- For non logarithmic scales, the number of pixels for a unit of 1. <th>Name</th>
- For logarithmic scales, represent one decade divided by 2.3. <th>Default value</th>
- Y Zoom: <th>Definition</th>
- The zoom alongside the ordinate, equivalent to the number of pixels for a unit of 1. </thead>
- Default value is 10. <tbody>
- Min X: <tr>
- 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><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>
- Default value is 0.5 <td>X Zoom</td>
- Max Y: <td>100</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>
- Default value is 25 The zoom alongside the x-axis.
- Max X: <ul>
- 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. <li>For non logarithmic scales, the number of pixels for a unit of 1.</li>
- This value is dynamic depending on the width of the LogarithmPlotter window as well as the x zoom you've chosen. <li>For logarithmic scales, represent one decade divided by 2.3.</li>
- Setting this value will change the value of the x zoom to fit exactly to the specified dimensions. </ul>
- Min Y: </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. </tr>
- This value is dynamic depending on the height of the LogarithmPlotter window as well as the y zoom you've chosen. <tr>
- Setting this value will change the value of the y zoom to fit exactly to the specified dimensions. <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>
- X Axis Step: <td>Y Zoom</td>
- Only for non logarithmic scale <td>10</td>
- Step of the graduation for the x-axis. <td>
- This value is an expression, you can use pi or e in it. The zoom alongside the ordinate, equivalent to the number of pixels for a unit of 1.
- Default value is 4. </td>
- Y Axis Step: </tr>
- Step of the graduation for the y-axis. <tr>
- This value is an expression, you can use pi or e in it. <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>
- Default value is 4. <td>Min X</td>
- Line width: <td>0.5</td>
- Width (percentage) of the the lines and circles of objects shown on the graph. <td>
- For lines, it's directly the width of the line 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.
- For circles, the diameters are 8 + 2 × line width. </td>
- Default value is 1. </tr>
- Text size (px): <tr>
- Size in pixel of the text shown on the graph. <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>
- Default value is 14. <td>Max Y</td>
- X Label: <td>25</td>
- Label to be used on the x-axis <td>
- Example: "x", "ω (rad/s)"... Maximum value to be drawn on the y-axis. In other words, it's the value of y at the bottom of the graph.
- Editable, you can put any value you want, while maintaining an history of the previously used labels </td>
- Note: this history is not saved with the file. </tr>
- Empty by default <tr>
- Y Label: <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>
- Label to be used on the y-axis <td>Max X</td>
- Example: "y", "Magnitude (dB)", "φ (°)", "φ (rad)", "φ (deg)" ... <td>Variable</td>
- Editable, you can put any value you want, while maintaining an history of the previously used labels. <td>
- Note: this history is not saved with the file. 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.
- X Log Scale: <ul>
- When checked, the x-axis is represented with a logarthmic scale, otherwise, it's represented with a non logarithmic scale. <li>This value is dynamic depending on the width of the LogarithmPlotter window as well as the x zoom you've chosen.</li>
- Show X gradiation: <li>Setting this value will change the value of the x zoom to fit exactly to the specified dimensions.</li>
- When checked, will show the labels alongside the x-axis (10¹, 10², ...). Otherwise, they will be hidden. </ul>
- Show Y gradiation: </td>
- When checked, will show the labels alongside the x-axis (0, 4, ...). Otherwise, they will be hidden. </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: List of the buttons:
- Copy to clipboard: - Copy to clipboard: