Path: news.mathworks.com!not-for-mail
From: <HIDDEN>
Newsgroups: comp.soft-sys.matlab
Subject: Inverted Color Box
Date: Thu, 5 Nov 2009 17:05:20 +0000 (UTC)
Organization: Cornell University
Lines: 2
Message-ID: <hcv0kg$ddq$1@fred.mathworks.com>
Reply-To: <HIDDEN>
NNTP-Posting-Host: webapp-03-blr.mathworks.com
Content-Type: text/plain; charset="ISO-8859-1"
Content-Transfer-Encoding: 8bit
X-Trace: fred.mathworks.com 1257440720 13754 172.30.248.38 (5 Nov 2009 17:05:20 GMT)
X-Complaints-To: news@mathworks.com
NNTP-Posting-Date: Thu, 5 Nov 2009 17:05:20 +0000 (UTC)
X-Newsreader: MATLAB Central Newsreader 1327593
Xref: news.mathworks.com comp.soft-sys.matlab:582802


I have a heat map image that I want to draw boxes over to highlight certain regions.  I am currently using the "line" command to draw lines of a certain color.  I want to be able to draw lines that change color to contrast the background.  So for example, if I am drawing on a blue background the line will be red and vice versa.
Is there any way to do this?