Thread Closed

Help with Matlab plots

 
Share Thread Thread Tools
Aug15-07, 09:03 AM   #1
 

Help with Matlab plots


Hi,

I'm trying to plot a 3d graph of when a function, F(i,j,k) = 1 ...I want to plot 3 variables that correspond to the i j and k against each other when the function equals 1.

...I've tried using surf but it tells me that its Z component needs to be a matrix, not a scalar or vector.. but I don't know how else to do it.

Any help would be greatly appreciated!

Thanks!
 
PhysOrg.com
PhysOrg
science news on PhysOrg.com

>> Heat-related deaths in Manhattan projected to rise
>> Dire outlook despite global warming 'pause': study
>> Sea level influenced tropical climate during the last ice age
Aug15-07, 09:33 AM   #2
 
Quote by jenga42 View Post
Hi,

I'm trying to plot a 3d graph of when a function, F(i,j,k) = 1 ...I want to plot 3 variables that correspond to the i j and k against each other when the function equals 1.

...I've tried using surf but it tells me that its Z component needs to be a matrix, not a scalar or vector.. but I don't know how else to do it.

Any help would be greatly appreciated!

Thanks!
It sounds like you're trying to display the [tex]F(i,j,k) = 1[/tex] isosurface. The correct MATLAB function to use would be isosurface, so you may want to look up that function in MATLAB's help system to see how to use it correctly for your problem.
 
Aug15-07, 09:42 AM   #3
 
Hi,

Thanks for your reply. Unfortunately, I don't think the isosurface function will work in my case as although I want to plot when F(i,j,k)=1, the function never precisely equals 1: I'll need to plot something like 0.99<F(i,j,k)<1.01.

Any other suggestions would be greatly appreciated!

Thanks
 
Aug15-07, 09:59 AM   #4
 

Help with Matlab plots


Actually I tried it just incase, and it works! ...Though I'm not really sure why! - Does isosurface estimate the values corresponding to i, j and k where F(i,j,k)=1?


- Thank you!!!
 
Thread Closed
Thread Tools


Similar Threads for: Help with Matlab plots
Thread Forum Replies
Importing MATLAB Plots into MATHCAD Math & Science Software 0
Different plots General Math 0
Help: Using Octave in place of Matlab to make plots Math & Science Software 0
MATLAB: 3D plots- How to plot 3D lines rather than surface? Math & Science Software 2
Sensitivity Plots in MATLAB Math & Science Software 2