MATLAB Answers

XOR in Matlab graphics

1 ビュー (過去 30 日間)
Naum Derzhi
Naum Derzhi 2017 年 12 月 5 日
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

回答 (0 件)



Community Treasure Hunt

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

Start Hunting!

Translated by