MATRIXx

cancel
Showing results for 
Search instead for 
Did you mean: 

Plot - Incorrect Axis Information Displayed

The issue is with the Y-Axis display of a plot. The plot is generated within a FOR loop which add a new line of data on each step and makes use of the plot "keep" keyword.

The resulting plot incorrectly displays the Y-axis scale. For example the diplayed Y-Axis scale is -0.3, --0.2, -0.1, 0, 0.1, 0.2, however the data spans -0.3 through 0.3. Double-Clicking on the y-axis reveals that it "thinks" it is -0.3 to 0.3 at 0.1 intervals.

I have attached an executable MS which pauses between it data set. If you watch the bottom-left plot you will see the "red" line initial with a y-value of approximately 0.1, but by the end appears at 0.4.

Note: If you try to change the y-axis scale "interactively" in the plot window, the data appears to respect the new scale, but the  scale labels do not update.

Note: It appears that I cannot attach a *.ms file, please rename the *.txt file to *.ms and "execute" from MATRIXx.

Thanks
Brian Taylor
Bombardier Aerospace
Download All
0 Kudos
Message 1 of 3
(7,659 Views)

Hello Brian,

I have replicated the y-scaling issue you've addressed in your post.  I will investigate futher and reply back when I find a workaround.

Matt S.

0 Kudos
Message 2 of 3
(7,637 Views)

Hi Brian,

I narrowed down the issue to the last command in your .ms file:

pause 1
  
   FNAME_OUT = "PLIN_F" + string(j) + "_" + pfx + string(FLAP_DEG) + "_MFS" + string(MFS_DEG) + "_C" + string(WCG_CONFIG) + "_H" + string(ALTITUDE_FT) + ".eps"
   hardcopy p, file=FNAME_OUT,{landscape,color};

 

If you take this statement out of your script, everything executes as it should.  I will look into this matter further and report the problem to our R&D department.

Regards,

Matt S.

Applications Engineer

0 Kudos
Message 3 of 3
(7,621 Views)