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
 transparent sphere in 3D plot

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
Maarten Colaers Posted - 05/31/2016 : 08:21:01 AM
Origin Ver. 8 and Service Release 0 (Select Help-->About Origin):
Operating System: Win7

Hi,

I have plotted a point in a 3D plot and want to plot a transparant sphere (radius 5) around it.

If i type a command in the command window (found on internet) like:
[x,y,z] = sphere(r);
surf(x+15.23973, y+8.390411, z+10.9482);

I always get this error:
Error: SPHERE(5)
LabTalk expression error: 1600

Can someone help me? I'm not that familiar with Matlab.

Greets,
Maarten
1   L A T E S T    R E P L I E S    (Newest First)
snowli Posted - 05/31/2016 : 4:18:06 PM
Hi Maarten,

Origin doesn't support using matlab code in our Command window directly.


This will be much easier to be done in latest version of Origin since we support 3d parametric function plots and it can be added to an existing 3d graph.
With your 3d graph window active, choose File: New: Function Plot: 3D Parametric Function Plot... menu.
Click > next the Theme on the top of the dialog to load Sphere.
You can adjust radius, etc.

At the bottom of the dialog, choose Add to Active Graph.
Sphere will be added in graph. You can then double click the sphere to set it to be transparent on Surface tab of Plot Details dialog.

More examples of 3d function plots
http://originlab.com/3dfunctions


Thanks, Snow

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