# Showing legends in Matlab

 Register Blogs Members List Search Today's Posts Mark Forums Read

 August 28, 2004, 07:25 Showing legends in Matlab #1 Doctor Blade Guest   Posts: n/a Anybody knows how can I show the legend of a contour graphic in Matlab?. I mean, the typical legend with the colours display and their numerical values for each one. I'm using the Student Version. Thanks in advanced.

 August 28, 2004, 14:47 Re: Showing legends in Matlab #2 Junseok Kim Guest   Posts: n/a type help legend on the matlab command window

 September 1, 2004, 11:17 Re: Showing legends in Matlab #3 Doctor Blade Guest   Posts: n/a I've read about it, but it does not say anything about "contours" plot. Only "plot" command.

 September 1, 2004, 17:42 Re: Showing legends in Matlab #4 noName Guest   Posts: n/a just type 'colorbar' should work!

 September 1, 2004, 18:32 Re: Showing legends in Matlab #5 Junseok Kim Guest   Posts: n/a try clabel for example, [cs,h] = contour(peaks); clabel(cs,h,'fontsize',15,'color','r','rotation',0 ) it should work also use help clabel. Good luck

 September 2, 2004, 04:56 Re: Showing legends in Matlab #6 Steve Guest   Posts: n/a Try posting MATLAB questions to comp.soft-sys.matlab. They're a very friendly and helpful bunch. You can access this NG via TMW web site: http://newsreader.mathworks.com

 September 2, 2004, 15:18 Re: Showing legends in Matlab #7 Doctor Blade Guest   Posts: n/a Thanks to all people!. I'll prove your advices soon and I will feedback the result.

 September 7, 2004, 09:57 driven cavity #8 aswad yusak Guest   Posts: n/a i want to know what a 'driven cavity with aspect ratio 1/4'. And this problem is a flow in square not rectangular.Meanwhile,how to use matlab with mesh (129,129).And then what a diffrent with aspect ratio and mesh in. I hope you can explain it.

 September 7, 2004, 12:10 Re: driven cavity #9 Junseok Kim Guest   Posts: n/a Would you be more specific and more details, thanks