I've written the following code, which draws in principle the wished graph. All used variables and expressions are declared in the correct manner.
! Opening MDI-window 07.03.18
i=winio@('%sp&',winx,winy)
i=winio@('%pv%`fr&',winb,winh)
i=winio@('%ca[cross section and concrete behaviour]&')
i=winio@('%lw[owned]',ctrl)
!c---Display a window containing the graph.
iw0=winio@('%sp&',plox,ployo)
iw0=winio@('%pv%aw&',ctrl)
iw0=winio@('%ww[no_border]&')
iw0=winio@('%`bg[white]&')
iw0=winio@('%ca[concrete behaviour acc. to DIN EN 1992]%pv&')
CALL winop@('%pl[title='for ULS: parabola-rectangle with f_cd']')
CALL winop@('%pl[y_min=0.,y_max=1.]')
CALL winop@('%pl[x_min=0.,x_max=3.5]')
CALL winop@('%pl[x_axis=Verzerrung]')
CALL winop@('%pl[y_axis=Spannung]')
CALL winop@('%pl[dx=0.5,dy=0.1]')
CALL winop@('%pl[n_graphs=2]')
CALL winop@('%pl[width=2,width=2]')
CALL winop@('%pl[pen_style=0,pen_style=2]')
CALL winop@('%pl[link=curves,link=curves]')
CALL winop@('%pl[colour=red,colour=blue]')
CALL winop@('%pl[symbol_size=2,symbol_size=2]')
CALL winop@('%pl[symbol=0,symbol=11]')
!C first variation
CALL winop@('%pl[x_array]')
iw0=winio@('%pl',plopix,plopiy, &
ist,xData(1:ist,1),yData(1:ist,1),yData(1:ist,2))
But there are some inconsistencies: x-axis-label is written at the right end of x-axis (xmax) y-axis-label is centered at the y-axis Why that? It would be fine, when x-axis-label is also centered!
!C second variation
CALL winop@('%pl[x_array,x_array]')
CALL winop@('%pl[independent,independent]')
iw0=winio@('%pl',plopix,plopiy, &
ist,xData(1:ist,1),yData(1:ist,1),xData(1:ist,2),yData(1:ist,2))
Both variations should draw the identical graph. But there are more inconsistencies: x-axis-label is written at the right end of x-axis (xmax) y-axis-label is written at the upper end of y-axis (ymax) At the blue(second) curve (...,2) a line is drawn from the last data-point (xmax,ymax) to the origin! Why that?? The data for the first and second variation is the very same.
Has anybody an idea to correct these inconsistencies.
At last, I'd like to have a grid at the graph. What is to do?