XOR in Matlab graphics

1 view (last 30 days)
Naum Derzhi
Naum Derzhi on 5 Dec 2017
This is a suggestion rather than a question. A few years ago the ability to draw in XOR mode disappeared from Matlab graphics. I would like to ask Mathworks to restore this ability in some form. The recipes offered in Matlab documentation do not cover all use cases. In my use case, I draw a line on top of a raster image, the colors of which I cannot predict, because data and colormap are controlled by end user. In this case using a fixed color for the line does not guarantee its visibility against the background image, and also may obscure variations in the colors underlying pixels. XOR is the natural to use in this case. It would also be great if an image with XOR lines drawn on top of it could be printed without distortion. Regards, Naum Derzhi

Answers (0)

Categories

Find more on Images in Help Center and File Exchange

Products

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!