Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
28 commits
Select commit Hold shift + click to select a range
86f3e69
Update version info
jchristopherson Mar 28, 2025
a641eda
Clean up
jchristopherson Mar 28, 2025
98e1eda
Add correlation plot
jchristopherson Mar 28, 2025
4c21dc2
Add example
jchristopherson Mar 28, 2025
5c38224
Add labels to correlation plots
jchristopherson Mar 28, 2025
223fc63
Add alpha channel to color type
jchristopherson Mar 28, 2025
2b9766e
Clean up
jchristopherson Mar 28, 2025
8d1dd3d
Update color to hex conversion
jchristopherson Apr 4, 2025
f826e46
Bug fix
jchristopherson Apr 4, 2025
9de4fe8
Add plot margin controls
jchristopherson Apr 7, 2025
cf09e0a
Update examples
jchristopherson Apr 7, 2025
e46e1f4
Show or hide tic labels
jchristopherson Apr 7, 2025
c7367b7
Update example
jchristopherson Apr 7, 2025
04c44c5
Allow for tic label translation and rotation
jchristopherson Apr 7, 2025
a283e98
Add title offset
jchristopherson Apr 7, 2025
d34c1a4
Clean up
jchristopherson Apr 7, 2025
b89ab0c
Fix correlation plot order
jchristopherson Apr 8, 2025
dbbd5ad
Update example
jchristopherson Apr 8, 2025
c4e054b
Update histogram data object
jchristopherson Apr 8, 2025
ef886b1
Update formatting
jchristopherson Apr 8, 2025
890e6d9
Add histogram plot type
jchristopherson Apr 8, 2025
c191a5c
Clean up histogram code
jchristopherson Apr 8, 2025
b32a980
Update histogram object
jchristopherson Apr 8, 2025
50f9fa1
Update example
jchristopherson Apr 10, 2025
fda61c1
Add width and height to initialization
jchristopherson Apr 10, 2025
1633ba8
Add linear fit to correlation plots
jchristopherson Apr 10, 2025
ade4fd0
Update documentation
jchristopherson Apr 10, 2025
47093f7
Clean up
jchristopherson Apr 10, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ cmake_minimum_required(VERSION 3.24)
project(
fplot
LANGUAGES Fortran
VERSION 1.7.2
VERSION 1.8.0
)

# Get helper macros and functions
Expand Down
4 changes: 2 additions & 2 deletions doc/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -143,7 +143,7 @@ <h3>Procedures</h3>
<div class="col-xs-6 col-sm-3">
<div>
<h3>Derived Types</h3>
<ul><li><a href='./type/color.html'>color</a></li><li><a href='./type/colormap.html'>colormap</a></li><li><a href='./type/cool_colormap.html'>cool_colormap</a></li><li><a href='./type/custom_colormap.html'>custom_colormap</a></li><li><a href='./type/delaunay_tri_2d.html'>delaunay_tri_2d</a></li><li><a href='./type/delaunay_tri_surface.html'>delaunay_tri_surface</a></li><li><a href='./type/earth_colormap.html'>earth_colormap</a></li><li><a href='./type/filled_plot_data.html'>filled_plot_data</a></li><li><a href='./type/grey_colormap.html'>grey_colormap</a></li><li><a href='./type/hot_colormap.html'>hot_colormap</a></li></ul>
<ul><li><a href='./type/color.html'>color</a></li><li><a href='./type/colormap.html'>colormap</a></li><li><a href='./type/cool_colormap.html'>cool_colormap</a></li><li><a href='./type/correlation_plot.html'>correlation_plot</a></li><li><a href='./type/custom_colormap.html'>custom_colormap</a></li><li><a href='./type/delaunay_tri_2d.html'>delaunay_tri_2d</a></li><li><a href='./type/delaunay_tri_surface.html'>delaunay_tri_surface</a></li><li><a href='./type/earth_colormap.html'>earth_colormap</a></li><li><a href='./type/filled_plot_data.html'>filled_plot_data</a></li><li><a href='./type/grey_colormap.html'>grey_colormap</a></li></ul>
</div>
<div>
<ul>
Expand All @@ -164,7 +164,7 @@ <h3>Derived Types</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/interface/cm_get_string_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/get_string_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~326"></span>
<span class="anchor" id="variable-this~356"></span>
class(<a href='../type/plot_object.html'>plot_object</a>),
</td>
<td>intent(in)</td>
Expand All @@ -187,7 +187,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~248"></span><small>character(len=:),allocatable</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~273"></span><small>character(len=:),allocatable</small></h3>
<p>The result string.</p>
<h3>Description</h3>
<p>Returns a string from a plot_object.</p>
Expand All @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/interface/operator(==).html
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h4>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/interface/operator(SLASH=).html
Original file line number Diff line number Diff line change
Expand Up @@ -279,7 +279,7 @@ <h4>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/pa_get_string_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~194"></span>
<span class="anchor" id="variable-this~211"></span>
class(<a href='../type/plot_axis.html'>plot_axis</a>),
</td>
<td>intent(in)</td>
Expand All @@ -187,7 +187,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~130"></span><small>character(len=:),allocatable</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~147"></span><small>character(len=:),allocatable</small></h3>
<p>The string.</p>
<h3>Description</h3>
<p>Retrieves a string from a plot_axis.</p>
Expand All @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/pd_get_string_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~222"></span>
<span class="anchor" id="variable-this~248"></span>
class(<a href='../type/plot_data.html'>plot_data</a>),
</td>
<td>intent(in)</td>
Expand All @@ -187,7 +187,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~152"></span><small>character(len=:),allocatable</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~178"></span><small>character(len=:),allocatable</small></h3>
<p>The string.</p>
<h3>Description</h3>
<p>Retrieves a string from a plot_data object.</p>
Expand All @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/interface/simplify_polyline.html
Original file line number Diff line number Diff line change
Expand Up @@ -510,7 +510,7 @@ <h4>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/spd_get_int_value.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~224"></span>
<span class="anchor" id="variable-this~250"></span>
class(<a href='../type/scatter_plot_data.html'>scatter_plot_data</a>),
</td>
<td>intent(in)</td>
Expand All @@ -187,7 +187,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~154"></span><small>integer(kind=int32)</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~180"></span><small>integer(kind=int32)</small></h3>
<p>The value.</p>
<h3>Description</h3>
<p>Gets an integer value from the scatter_plot_data object.</p>
Expand All @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/spd_get_string_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~225"></span>
<span class="anchor" id="variable-this~251"></span>
class(<a href='../type/scatter_plot_data.html'>scatter_plot_data</a>),
</td>
<td>intent(in)</td>
Expand All @@ -187,7 +187,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~155"></span><small>character(len=:),allocatable</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~181"></span><small>character(len=:),allocatable</small></h3>
<p>The string.</p>
<h3>Description</h3>
<p>Gets a string value from the scatter_plot_data object.</p>
Expand All @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/spd_get_value.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~223"></span>
<span class="anchor" id="variable-this~249"></span>
class(<a href='../type/scatter_plot_data.html'>scatter_plot_data</a>),
</td>
<td>intent(in)</td>
Expand Down Expand Up @@ -202,7 +202,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~153"></span><small>real(kind=real64)</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~179"></span><small>real(kind=real64)</small></h3>
<p>The value.</p>
<h3>Description</h3>
<p>Gets an indexed value from the scatter_plot_data object.</p>
Expand All @@ -223,7 +223,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/spd_set_value.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~226"></span>
<span class="anchor" id="variable-this~252"></span>
class(<a href='../type/scatter_plot_data.html'>scatter_plot_data</a>),
</td>
<td>intent(inout)</td>
Expand Down Expand Up @@ -201,7 +201,7 @@ <h3>Arguments</h3>
</tr>
<tr>
<td>
<span class="anchor" id="variable-x~156"></span>
<span class="anchor" id="variable-x~182"></span>
real(kind=real64),
</td>
<td>intent(in)</td>
Expand Down Expand Up @@ -236,7 +236,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
6 changes: 3 additions & 3 deletions doc/interface/term_get_string_result.html
Original file line number Diff line number Diff line change
Expand Up @@ -171,7 +171,7 @@ <h3>Arguments</h3>
<tbody>
<tr>
<td>
<span class="anchor" id="variable-this~378"></span>
<span class="anchor" id="variable-this~421"></span>
class(<a href='../type/terminal.html'>terminal</a>),
</td>
<td>intent(in)</td>
Expand All @@ -187,7 +187,7 @@ <h3>Arguments</h3>
</tbody>
</table>

<h3>Return Value <span class="anchor" id="variable-x~290"></span><small>character(len=:),allocatable</small></h3>
<h3>Return Value <span class="anchor" id="variable-x~327"></span><small>character(len=:),allocatable</small></h3>
<p>The string.</p>
<h3>Description</h3>
<p>Retrieves a string from a terminal.</p>
Expand All @@ -208,7 +208,7 @@ <h3>Description</h3>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
3 changes: 2 additions & 1 deletion doc/lists/files.html
Original file line number Diff line number Diff line change
Expand Up @@ -120,6 +120,7 @@ <h1>Source Files</h1>
<tr><td><a href='../sourcefile/fplot_png_terminal.f90.html'>fplot_png_terminal.f90</a></td><td></td></tr>
<tr><td><a href='../sourcefile/fplot_qt_terminal.f90.html'>fplot_qt_terminal.f90</a></td><td></td></tr>
<tr><td><a href='../sourcefile/fplot_simplify.f90.html'>fplot_simplify.f90</a></td><td></td></tr>
<tr><td><a href='../sourcefile/fplot_stats_plots.f90.html'>fplot_stats_plots.f90</a></td><td></td></tr>
<tr><td><a href='../sourcefile/fplot_surface_plot.f90.html'>fplot_surface_plot.f90</a></td><td></td></tr>
<tr><td><a href='../sourcefile/fplot_surface_plot_data.f90.html'>fplot_surface_plot_data.f90</a></td><td></td></tr>
<tr><td><a href='../sourcefile/fplot_terminal.f90.html'>fplot_terminal.f90</a></td><td></td></tr>
Expand All @@ -144,7 +145,7 @@ <h1>Source Files</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
21 changes: 11 additions & 10 deletions doc/lists/modules.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,15 +125,16 @@ <h1>Modules</h1>
<!--active--> <tr class=""><td><a href='../module/fplot_png_terminal.html'>fplot_png_terminal</a></td><td><a href='../sourcefile/fplot_png_terminal.f90.html'>fplot_png_terminal.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_qt_terminal.html'>fplot_qt_terminal</a></td><td><a href='../sourcefile/fplot_qt_terminal.f90.html'>fplot_qt_terminal.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_simplify.html'>fplot_simplify</a></td><td><a href='../sourcefile/fplot_simplify.f90.html'>fplot_simplify.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_surface_plot.html'>fplot_surface_plot</a></td><td><a href='../sourcefile/fplot_surface_plot.f90.html'>fplot_surface_plot.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_surface_plot_data.html'>fplot_surface_plot_data</a></td><td><a href='../sourcefile/fplot_surface_plot_data.f90.html'>fplot_surface_plot_data.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_terminal.html'>fplot_terminal</a></td><td><a href='../sourcefile/fplot_terminal.f90.html'>fplot_terminal.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_tri_surface_plot_data.html'>fplot_tri_surface_plot_data</a></td><td><a href='../sourcefile/fplot_tri_surface_plot_data.f90.html'>fplot_tri_surface_plot_data.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_triangulations_delaunay_2d.html'>fplot_triangulations_delaunay_2d</a></td><td><a href='../sourcefile/fplot_triangulations_delaunay_2d.f90.html'>fplot_triangulations_delaunay_2d.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_vector_field_plot_data.html'>fplot_vector_field_plot_data</a></td><td><a href='../sourcefile/fplot_vector_field_plot_data.f90.html'>fplot_vector_field_plot_data.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_windows_terminal.html'>fplot_windows_terminal</a></td><td><a href='../sourcefile/fplot_windows_terminal.f90.html'>fplot_windows_terminal.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_wxt_terminal.html'>fplot_wxt_terminal</a></td><td><a href='../sourcefile/fplot_wxt_terminal.f90.html'>fplot_wxt_terminal.f90</a></td><td></td></tr>
<!----> </tbody></table>
<!----> <tr class="active"><td><a href='../module/fplot_stats_plots.html'>fplot_stats_plots</a></td><td><a href='../sourcefile/fplot_stats_plots.f90.html'>fplot_stats_plots.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_surface_plot.html'>fplot_surface_plot</a></td><td><a href='../sourcefile/fplot_surface_plot.f90.html'>fplot_surface_plot.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_surface_plot_data.html'>fplot_surface_plot_data</a></td><td><a href='../sourcefile/fplot_surface_plot_data.f90.html'>fplot_surface_plot_data.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_terminal.html'>fplot_terminal</a></td><td><a href='../sourcefile/fplot_terminal.f90.html'>fplot_terminal.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_tri_surface_plot_data.html'>fplot_tri_surface_plot_data</a></td><td><a href='../sourcefile/fplot_tri_surface_plot_data.f90.html'>fplot_tri_surface_plot_data.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_triangulations_delaunay_2d.html'>fplot_triangulations_delaunay_2d</a></td><td><a href='../sourcefile/fplot_triangulations_delaunay_2d.f90.html'>fplot_triangulations_delaunay_2d.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_vector_field_plot_data.html'>fplot_vector_field_plot_data</a></td><td><a href='../sourcefile/fplot_vector_field_plot_data.f90.html'>fplot_vector_field_plot_data.f90</a></td><td></td></tr>
<!--active--> <tr class=""><td><a href='../module/fplot_windows_terminal.html'>fplot_windows_terminal</a></td><td><a href='../sourcefile/fplot_windows_terminal.f90.html'>fplot_windows_terminal.f90</a></td><td></td></tr>
<!----> <tr class="active"><td><a href='../module/fplot_wxt_terminal.html'>fplot_wxt_terminal</a></td><td><a href='../sourcefile/fplot_wxt_terminal.f90.html'>fplot_wxt_terminal.f90</a></td><td></td></tr>
<!--active--> </tbody></table>

</div>
</div>
Expand All @@ -149,7 +150,7 @@ <h1>Modules</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
2 changes: 1 addition & 1 deletion doc/lists/procedures.html
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ <h1>Procedures</h1>
<p class="text-right">
Documentation generated by
<a href="https://github.com/Fortran-FOSS-Programmers/ford">FORD</a>
on 2025-03-28 05:45 </p>
on 2025-04-10 13:38 </p>
</div>
</div>
<br>
Expand Down
Loading