MAD-X icon indicating copy to clipboard operation
MAD-X copied to clipboard

PLOT drops vertical lead line and label in plot area if HAXIS values in table are in decreasing order

Open dlesyna opened this issue 1 year ago • 0 comments

There appears to be a bug in the MAD-X PLOT function that drops the data label and vertical lead line (that should be in the plot area) if the HAXIS data is read from a table and has decreasing values. For example, if the data in the table in increasing rows for the HAXIS is 5,4,3,2,1,0,-1,-2 etc, then the plotted line is drawn correctly e.g. left to right, with left being more negative. However, the vertical lead line and axis label (line label) is dropped in the PDF plot file.

dlesyna avatar Jul 26 '23 23:07 dlesyna