Author |
Topic |
|
ssavarmand
USA
Posts |
Posted - 12/17/2014 : 1:02:18 PM
|
Origin Ver. and Service Release (Select Help-->About Origin): 9.1.0 Operating System: Win-7
Hi,
I was wondering if there is a way to show only the part of a shape inside a plot and limited to the plot axis. In the attached graph, for example, I have plotted a circle on the graph, but I would like only the part inside the graph to show up. How the part outside of the graph can be hidden?
Here I have used the circle tool to draw the circle. Do I need to treat this problem as plotting a circle with the circle equation, such as (x-x0)^2 + (y-y0)^2 = R^2? What is the simplest way for circle?
BR, Saeid
|
|
snowli
USA
1390 Posts |
Posted - 12/17/2014 : 4:11:10 PM
|
Hello,
I will check if we have better way to support this.
Right now, one way is choose File: New: Function Plot: 2D Parametric Function Plot.
Make sure "Add to Active Graph" is selected at the bottom.
Use parameter t, 100 points, from 0 to 2*pi
Set X(t) to be r*sin(t)+x0 Set Y(t) to be r*cos(t)+y0
it will add a parameter function plot which is a circle. --> Corresponding data is created in worksheet.
BTW, to make sure circle show as circle instead of oval, double click in graph to open Plot Details dialog. Go to Layer node on left panel. Go to Side/Speed tab on the right. Check Link Axis Length to Scale (isometric).
You can select the line plot and change line style, thickness on Style toolbar.
Thanks, Snow OriginLab Corp. |
Edited by - snowli on 12/18/2014 09:15:56 AM |
|
|
ssavarmand
USA
Posts |
Posted - 12/18/2014 : 07:56:20 AM
|
Hi Snow, That was awesome! Really appreciate it! Made my day! Have a great day! BR, Saeid |
|
|
ssavarmand
USA
Posts |
Posted - 10/12/2023 : 12:00:35 PM
|
Hi, Recently I tried 3D Parametric Function Plot to plot shperes. The spheres cover negative values of x, y, or z. Is it possible to hide (not show) the part of the spheres that are on the negative sides? Is it possible to somehow define constraints that can be used to hide part of a 3D plot? Thanks. |
|
|
snowli
USA
1390 Posts |
Posted - 10/12/2023 : 12:26:26 PM
|
Yes, you can double click plot and go to Misc. tab to turn on and set clipping in 3D see this FAQ https://www.originlab.com/doc/Quick-Help/3D-Clipping
The following used By Percentage. But u can choose By Value to set the from and to values
Thanks, Snow |
|
|
ssavarmand
USA
Posts |
Posted - 10/12/2023 : 3:55:36 PM
|
Thanks a lot, Snow. Right on. Works perfectly. Saeid |
|
|
|
Topic |
|
|
|