# Why is probplot not plotting the reference line for one matrix column?

4 views (last 30 days)

Show older comments

Inputting a 1457x3 double matrix whose columns represent millimeter motion in 3D space, probplot is not plotting a reference line for the first column (lateral data). Why? (Removing this column, probplot works, so it appears limited to this data specifically.)

I have attached the DICOMallshifts data, the file created via csvwrite. Interestingly, WordPad is showing -0 whereas MATLAB simply has 0, (cf. screenshot below) ... Does this show that MATLAB is in fact treating the 0 as negative because of this line in my code redefining axes?

DICOMallshifts = cmtomm*...

[-InterfractionalElektaMotion(:,1) -InterfractionalElektaMotion(:,3) ...

InterfractionalElektaMotion(:,2)];

Are all the -0 data causing this error in probplot?

Here is the code generating the probplot figure:

figure

probplot(DICOMallshifts)

legend('show','Location','northwest')

Here is a screenshot showing the problem:

Discrepancy between MATLAB and data written to file:

##### 0 Comments

### Answers (1)

Massimo Zanetti
on 26 Jan 2017

##### 3 Comments

### See Also

### Categories

### Products

### Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!