File Exchange Pick of the Week

November 2nd, 2005

Too much time to kill?

Have you ever sat around asking yourself if it would be possible to draw flags of the world's nations just using the patch command? And then realized that this means you could easily embed flags in your Simulink model? Well, you are not alone! Mike Woodward apparently asked (and answered) that very same question. You've got to check out Mike's Flags. This is really quite amazing - Mike has done a tremendous job of representing over 80 different flags. Since Mike is a Simulink guy, he did everything as system masks for Simulink blocks. His patch commands work just as well in MATLAB, enabling you to add flags to your MATLAB figures (just copy them from the Mask Editor in Simulink). Cool stuff, Mike, though I hope this wasn't done on company time ...

Comments are closed.


Bob, Brett & Jiro share their favorite user-contributed submissions from the File Exchange.

  • Zach: Hi Doug and Les, I didn’t have a lot of time to mess with this, but I did find a work-around. I plotted...
  • hamed: k
  • Les: @Zach This isn’t exactly what you are looking for but at least it puts all three parameters on the same...
  • Zach: Thanks for your suggestions Doug. I’ll give that a shot and see what happens. I’ve seen many of...
  • Doug: @Zach, I would say to use plotYYY, because that is close to what you want, but using depth as Y makes sense....
  • Doug: @Teja, I think this will work: http://www.mathworks .com/access/helpdesk /help/techdoc/ref...
  • Gify: merry christmas :) nice christmas tree! Regards, Janet Gify
  • Teja: Dear Doug Is there anyway to plot a surface from nonuniform data without meshgrid and griddata? Basically i...
  • Zach: I’m working with geophysical data, so I’d like to produce a depth profile. The y-axis would be...
  • Doug: @Ashok First, please do not use variable names that are MATLAB commands (std and mean). Second, p(j) should be...

These postings are the author's and don't necessarily represent the opinions of The MathWorks.