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 |
|
|