Wish list

Coordinator
Feb 9, 2012 at 9:44 AM

What features would you like to be added?

Feb 5, 2016 at 2:15 PM
Thank you for this very useful piece of software.
This is not a wish but I think that in
SUBROUTINE plot2D_matrix_vs_vector(this, xv,ymat, lspec)
there may be a problem when the user pass a lspec array whose dimension (ns) is lower than the 2nd dimension of y (number_of_plots).
In here
.....
IF ( present(lspec) ) THEN
    CALL process_linespec(1,pltstring(1),lspec(1))
    ns=size(lspec)
    IF (ns>1) THEN
        DO i=2, number_of_plots
            CALL process_linespec(i,pltstring(i),lspec(i))
        END DO
    ELSE ! use the same setting for all plots
        DO i=2, number_of_plots
            CALL process_linespec(i,pltstring(i),lspec(1)) !Use the same lspec(1)
        END DO
    END IF
ELSE !No lspec is available
    pltstring(1)=' plot "-" notitle,'
    pltstring(2:number_of_plots-1)='"-" notitle,'
    pltstring(number_of_plots)='"-" notitle'
END IF
......
This could be secured (and improved) by looping back to the series of line specs. Like in
.....
IF ( present(lspec) ) THEN
    ns=size(lspec)
    print *,ns
    DO i=1, number_of_plots
        j = mod(i-1,ns)+1
        CALL process_linespec(i,pltstring(i),lspec(j))
    END DO
ELSE !No lspec is available
.....

I am also wondering if all the list of plot1, plot2, plot3, plot4, (well may be not plot1) could not just call plot2D_matrix_vs_vector
for easier maintenance by less code.
Thank you again for this claen little tool, anyway.
Patrick Le Roux PhD