
Hi Paul, On Thu, 21 Nov 2002, Paul Fons wrote:
This is my fault -- a bug that's been on the to-do list forever, and never done. I believe this will also cause the same behavior: my.x = range(1,100,1)/10 my.y = sin(my.x) my.z = cos(my.x) newplot my.x, my.y, key='sin' plot my.x, my.z, key='cos' #everything is fine... plot xmax = 8 and the most recent 'key' gets lost. Making a hardcopy simply does a plot() with a different device, and so often tickles this error. Workarounds include adding the last trace twice, as in newplot my.x, my.y, key='sin' plot my.x, my.z, key='cos' #everything is fine... plot my.x, my.z, key='cos', color='red' which will then trick a second plot(). Anyway, it's all my fault, not PGPLOT's. Probably should fix it huh?? --Matt
participants (1)
-
Matt Newville