The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 3D Plots from Equations
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

rbaior

USA
Posts

Posted - 04/14/2004 :  3:36:57 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi there,

Can I plot 3D plots from equations rather than from worksheet so it obviates the need to generate the discrete points on my part?

Regards,

Rob

Mike

USA
357 Posts

Posted - 04/14/2004 :  4:25:05 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rob,

Yes, you can do that using the Set Matrix Values dialog box. To open this dialog:

1. Open a fresh matrix window (click the New Matrix button on the Standard toolbar).
2. From the menu, select Matrix:Set Values.

=> This opens the Set Matrix Values dialog box.

3. Enter matrix dimensions and your equation here.

Mike
OriginLab
Go to Top of Page

rbaior

USA
Posts

Posted - 04/16/2004 :  10:48:42 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi there,

I did try what you suggested. But how can I plot a function whose ranges are not just [1:N], but rather [0.1 to 0.5] for example? I can scale the index up but when I did that it left a whole bunch empty entries in the matrix window, so when i tried to plot, it didn't work correctly. do you what I mean?

Thanks,

Rob
Go to Top of Page

easwar

USA
1965 Posts

Posted - 04/17/2004 :  10:58:31 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi Rob,

The Origin matrix window can be assigned a dimension (number of rows and columns), and also coordinates (start and end values along x and y). Based on these two entries, the x, y values for each cell is computed. You can do this assignment using the Matrix->Set Dimension dialog.

Once dimension and coordinates are assigned, use the
Matrix->Set Column dialog. You can then enter formulae such as
Cell(i,j) = sin(x)*cos(y)
which will then use the x, y values for each cell in the computation.

On the other hand, if you enter a formula such as
Cell(i,j)=i*j
then the row/column position values are used instead of the actual x, y values for that cell.

If you have ver 7 or higher, when you view the Matrix in Data mode, you can toggle between showing the row/column numbers versus the x/y numbers using the menu View->Show Col/Row or View->Show X/Y

Hope this helps.

Easwar
OriginLab

Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000