axis followed by oplot behave differently as in idl

Issue #37 resolved
Jean-Philippe Bernard created an issue

This code:

loadct,13

x=[0,1]
y=[0,1]
plot,x,y,xs=9
xrange=[1000,10000]
axis,xaxis=1,xrange=xrange

xp=[0.2,0.8,0.9]
yp=xp^2

oplot,xp,yp,color=100

does not produce the same region in IDL 8.5.1 and fawlty 5.0. system variable !x is different in both, but this is not the reason why the oplot does not appear on the plot in fawlty.

Comments (2)

  1. Lajos Foldy repo owner

    Thank you for the report, fixed for the next snapshot. Axis changed the internal plot state and oplot did not restore it properly. Thank you for the report.

  2. Log in to comment