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
 All Forums
 Origin Forum
 Origin Forum
 Creating a 3-D box to plot ranges along 3 axes

Note: You must be registered in order to post a reply.
To register, click here. Registration is FREE!

Screensize:
UserName:
Password:
Anti-Spam Code:
Format Mode:
Format: BoldItalicizedUnderlineStrikethrough Align LeftCenteredAlign Right Horizontal Rule Insert HyperlinkUpload FileInsert Image Insert CodeInsert QuoteInsert List
   
Message:

* HTML is OFF
* Forum Code is ON
Smilies
Smile [:)] Big Smile [:D] Cool [8D] Blush [:I]
Tongue [:P] Evil [):] Wink [;)] Clown [:o)]
Black Eye [B)] Eight Ball [8] Frown [:(] Shy [8)]
Shocked [:0] Angry [:(!] Dead [xx(] Sleepy [|)]
Kisses [:X] Approve [^] Disapprove [V] Question [?]

 
Check here to subscribe to this topic.
   

T O P I C    R E V I E W
mfalinsk Posted - 01/24/2017 : 2:55:34 PM
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.
3   L A T E S T    R E P L I E S    (Newest First)
Hideo Fujii Posted - 01/26/2017 : 10:48:49 AM
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
mfalinsk Posted - 01/24/2017 : 4:49:02 PM
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!!
Hideo Fujii Posted - 01/24/2017 : 4:30:53 PM
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

The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000