Community Tip - Learn all about the Community Ranking System, a fun gamification element of the PTC Community. X
Second column is the radial break at different tensile strengths from a detonating blasthole
Third column is the value of tensile stress for radial break of column two,
This is the formula that uses the above input to calculate the number of cracks at each tensile strength for each radial distance away from the blasthole.
I am using the chart component to plot the number of cracks for each break radius. How do I set up Y and X to get a plot? I believe I need to change the vectors to scalars. I have posted my worksheet. Please refer to page 2 only.
Solved! Go to Solution.
When you defined your vectors nAt.1 and others you used vector subscripts and so you defined a nested vector - a 1x1 vector whose only element is this 5x1 vector. The plot component did not like this for some reason.
I don't think that this was done intentionally by you- So just use a literal subscript and the component is happy.
I guess the component was placed a bit too high and I had to drag it down a little bit so it recognizes the variables defined to the left of it (Prime read left to right and from top down).
I also included the same plot done with Primes native plot facility (no labels, no grid lines, no secondary y-axis) to show that, unlike the purchased third party plot component, it at least also supports units (note the cm at the x-axis).
Prime 6 file attached
When you defined your vectors nAt.1 and others you used vector subscripts and so you defined a nested vector - a 1x1 vector whose only element is this 5x1 vector. The plot component did not like this for some reason.
I don't think that this was done intentionally by you- So just use a literal subscript and the component is happy.
I guess the component was placed a bit too high and I had to drag it down a little bit so it recognizes the variables defined to the left of it (Prime read left to right and from top down).
I also included the same plot done with Primes native plot facility (no labels, no grid lines, no secondary y-axis) to show that, unlike the purchased third party plot component, it at least also supports units (note the cm at the x-axis).
Prime 6 file attached