CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > Main CFD Forum

Showing legends in Matlab

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

Reply
 
LinkBack Thread Tools Display Modes
Old   August 28, 2004, 07:25
Default 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.

  Reply With Quote

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

Old   September 1, 2004, 11:17
Default 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.
  Reply With Quote

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

should work!
  Reply With Quote

Old   September 1, 2004, 18:32
Default 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
  Reply With Quote

Old   September 2, 2004, 04:56
Default 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
  Reply With Quote

Old   September 2, 2004, 15:18
Default 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.
  Reply With Quote

Old   September 7, 2004, 09:57
Default 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.
  Reply With Quote

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

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to start Fluent with Matlab?? Jay Hu FLUENT 5 October 9, 2013 14:20
Integrating/Interfacing cfx with Matlab Darren Leong CFX 21 January 7, 2013 17:08
OpenFOAM command from inside MATLAB sega OpenFOAM Post-Processing 18 September 25, 2012 07:35
Matlab in Mechanical Industry Megatron Main CFD Forum 0 April 21, 2011 09:33
[ICEM] version 12 incompatible with MATLAB R2009 siw ANSYS Meshing & Geometry 1 September 8, 2009 09:20


All times are GMT -4. The time now is 06:00.