8.* graphics [message #78976] |
Tue, 17 January 2012 09:22 |
Russell[1]
Messages: 101 Registered: August 2011
|
Senior Member |
|
|
Okay, so I'm trying my hand at the new graphics features in IDL 8,
mostly because doing this in the classic direct graphics way is
incredible painful and (according to the help pages) the new stuff
should be able to knock this one out of the park. Famous last words,
I know. So here's the problem:
I'm trying to make a figure for an upcoming proposal where I want to
show a series of transmission curves (as a function of wavelength)
with the area under each curve shaded a different color. Many of
these curves have small overlaps with adjacent bands, and I'd like to
have the shading be the transparency (a la red+blue = purple). It
seems that plot.pro (the function not the procedure) is ready and
willing to do this, but I desperately need the x-axis to be displayed
as a log (so xlog=1b). However! the shading and transparency is
completely gone when I set xlog=1b! AAGGHH! Am I crazy, does anyone
know anything about this?
-Russell
PS, Yes, I'm aware that I can simply take the logarithm of the axis
and plot log(wavelength), but (1) I prefer the log-spaced tick marks
and (2) it *SHOULD* work! switching this bit shouldn't affect the
colors!
|
|
|