LabVIEW Idea Exchange

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

3D Plot Should Not Plot NaN as Zero

Status: New

When producing a 3D plot with an array containing NaN values, the plot should not interpret these as zero. Rather, these points should be disregarded so that the black lines do not appear. Given the way Labview handles arrays, there is no way to remove these elements given the way that the data is generated and as such it must be left up to the plotting algorithm.

 

3d plot NaN.PNG

3 Comments
elset191
Active Participant
If you replace the NaN with a value interpolated from surrounding values you can avoid the black lines. 
--
Tim Elsey
Certified LabVIEW Architect
CanadaGuy
Member
Thanks. I'm not too concerned about a hackjob to make it work, since I know it would be possible. Just looking for a proper solution.
Manzolli
Active Participant
Agree! Should act just like 2D plots.
André Manzolli

Mechanical Engineer
Certified LabVIEW Developer - CLD
LabVIEW Champion
Curitiba - PR - Brazil