Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: BUG in PATCH EDGE COLOR property
Replies: 0  

Advanced Search

Back to Topic List Back to Topic List  
Rob Moucha

Posts: 10
Registered: 12/7/04
BUG in PATCH EDGE COLOR property
Posted: Jul 18, 1996 12:07 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

Hello everyone,

As far as I know it happens on Win 3.11, Win NT, and Win'95
MATLAB ver 4.2c. If any one can find an alternate way around this let me
know.

Try this;

>> set(0,'DefaultPatchEdgeColor','factory')
>> x=rand(1,100);
>> y=x;
>> z=rand(1,100);
>> img2(x,y,z,0.01,0.01)


now try;

>> set(0,'DefaultPatchEdgeColor','flat')
>> img2(x,y,z,0.01,0.01)


function img2(xco,yco,dat,wx,wy)
% img2 2dimensional plot of irregularly sampled data
%
% function img2(xco,yco,dat,wx,wy)
%
xcos=[xco-wx; xco-wx; xco+wx; xco+wx];
ycos=[yco-wy; yco+wy; yco+wy; yco-wy];
fill(xcos,ycos,dat);

Rob





Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.