cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Want the oppurtunity to discuss enhancements to PTC products? Join a working group! X

Scatterplot not working

SS_10582647
1-Newbie

Scatterplot not working

Trying to plot a spring constant after measuring deformation due to applied weight

 

Why is this scatterplot not working?

 

Both M and S8mm have 10 values

 

Schermafbeelding 2023-03-21 085601.png

 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions
ttokoro
20-Turquoise
(To:SS_10582647)

5 REPLIES 5

Hi,

 

the issue here is that M may appear as if it's a matrix, but it is not. It is a range variable. To correct this issue:

  1. define a one columns matrix of the same length as S8mm called M
  2. fill in the values for M manually
  3. plot them

This should work

OK this works but what if I need to plot 100's of points? is there a way to convert a range to a matrix?

You can always multiply the range variable with a constant; say 1. The result is a matrix then; see attached image.

Raiko_0-1679390040844.png

 

ttokoro
20-Turquoise
(To:SS_10582647)

How to convert a range to a matrix is here.

Using matrix index, we can plot 10*j data only.

 

image.png

ttokoro
20-Turquoise
(To:SS_10582647)

image.pngimage.pngimage.png

Top Tags