This example demonstrates legend placement and customization options.
legend_demo.f90
- Source codebasic_legend.png/pdf/txt
- Basic legend with default placementlegend_upper_left.png/pdf/txt
- Legend in upper leftlegend_upper_right.png/pdf/txt
- Legend in upper rightlegend_lower_left.png/pdf/txt
- Legend in lower leftlegend_lower_right.png/pdf/txt
- Legend in lower rightmulti_function_legend.png/pdf/txt
- Multiple functions with legendmake example ARGS="legend_demo"
best
- Automatic optimal placementupper left
- Top left cornerupper right
- Top right corner (default)lower left
- Bottom left cornerlower right
- Bottom right corner