add_line_plot_data Subroutine

public subroutine add_line_plot_data(plots, plot_count, max_plots, colors, x, y, label, linestyle, color, marker)

Add line plot data to internal storage with edge case validation Fixed Issue #432: Added data validation for better user feedback

Arguments

Type IntentOptional Attributes Name
type(plot_data_t), intent(inout) :: plots(:)
integer, intent(inout) :: plot_count
integer, intent(in) :: max_plots
real(kind=wp), intent(in) :: colors(:,:)
real(kind=wp), intent(in) :: x(:)
real(kind=wp), intent(in) :: y(:)
character(len=*), intent(in), optional :: label
character(len=*), intent(in), optional :: linestyle
real(kind=wp), intent(in) :: color(3)
character(len=*), intent(in), optional :: marker