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
 Creating a 3-D box to plot ranges along 3 axes
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

mfalinsk

USA
2 Posts

Posted - 01/24/2017 :  2:55:34 PM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hi there!
I have to create about 10 3D boxes on one plot, that have surface patterns. The values at each axis are a range, so each box is essentially a plot of three different ranges. For example, one of my boxes will have a range along the x-axis of 6.25-258.9, along the y-axis of 0.53-32 and along the x-axis of 160-4500. When I did this in 2D, I just made a line graph in the shape of a rectangle, then filled the box.

Any suggestion for how I can make this 3D graph would be awesome!!! I am a fairly new origin user, so I don't quite know how to do it myself.

Hideo Fujii

USA
1582 Posts

Posted - 01/24/2017 :  4:30:53 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi mfalinsk,

You can create 3D parametric surfaces of all 6 planes, then plot their matrices into one 3D graph layer.
For example, to make a matrix of the rectangle top plane with X=[6.25, 258.9], Y=[0.53, 32], Z=[160, 4500]:
1) Choose "File: New: Function Plot: 3D Parametric Function Plot".
2) In the appeared dialog, enter:
u: From=6.25, To=258.9;
v: From=0.53, To=32; 
X(u,v)=u; Y(u,v)=v; 
Z(u,v)=4500

Now, you get a matrix sheet (say, MSheet1 in Func1) with 3 matrix objects.

After defining all 6 matrix sheets, you can insert all sheets using Layer Contents dialog box as usual.

Did it work?

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 01/24/2017 4:36:57 PM
Go to Top of Page

mfalinsk

USA
2 Posts

Posted - 01/24/2017 :  4:49:02 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
This works for me, but I will have to essentially plot a total of 60 layers on top of each other. It is quite tedious, only because of the large number of these graphs I will be making in the future (not just this one). Is there a way to automate this?

If not, it is still fantastic to have a way of doing it at all!!
Go to Top of Page

Hideo Fujii

USA
1582 Posts

Posted - 01/26/2017 :  10:48:49 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hi mfalinsk,

Our developer has made a sample LabTalk code which draws a 3D box.
Could you please try it?

http://www.originlab.com/doc/LabTalk/examples/Plotting#plot_3D_box_using_plotm

I hope this helps.

--Hideo Fujii
OriginLab

Edited by - Hideo Fujii on 01/26/2017 4:34:37 PM
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