matlab - Patch with transparency and timestamp indexes breaks figure -


i having trouble plotting patch on figure transparency , timestamp index varying in datenum range of 735k, more or less datenum acquire actual dates.

the following example illustrate issue:

k=[735172.912437674 735172.941375799 0 7830]; figure; axis(k); p=patch([k(1) k(1) k(2) k(2)], [k(3) k(4) k(4) k(3)],[0 0 0 0],'r', 'facealpha', 0.1); 

bug patch

are able reproduce bug? suggestions? i've seen this other post , searched it, no clue. wouldn't remove minimum time stamps, have adapt code because of x(

i learning other question , led me study bit new handle graphics may appear this or next year (?) — looks trying discovering trends @ financial business, guess when go out, if haha. may used adding -hgversion 2 option @ matlab launch. , doing so, resulting figure looks \o/:

hg2 somewhere far beyond limits of hg1 go

great… beware there differences on usage hg1 hg2 may lead code not work (specially if using listeners) if want explore even more undocumented code add if in codes breaks:

if feature('usehg2')   % hg2 approach else   % hg1 approach end 

one thing it's @ least can meta.class handles, can explore them easier x) , usage quite more intuitive matlab oop development way.


Comments

Popular posts from this blog

java - Run a .jar on Heroku -

java - Jtable duplicate Rows -

validation - How to pass paramaters like unix into windows batch file -