Error with EPS Colormaps
8 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
I'm trying to create true eps files with a scaled color image of intensity in the background and black contours on top. I use imagesc(...) with a 'jet' colormap followed by contour(...,'Color','black'). This allows me to create a true (infinite zoom) eps file but for some reason despite the fact that I have written 'Color','black', when I open the saved file, the contours are the darkest blue of the jet colormap rather than black. In the matlab preview of the image, the lines look black. This only occurs after I save as eps. It does not occur when I save to pdf.
Anybody have any idea how to get around this?
0 Kommentare
Antworten (1)
Sean de Wolski
am 17 Jan. 2012
hmm
What happens if you add a layer of zeros to the top of the jet colormap?
imagesc
colormap([0 0 0;jet])
colorbar
Siehe auch
Kategorien
Mehr zu Color and Styling finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!