Info

This question is closed. Reopen it to edit or answer.

What will be returned by h=voronoi(...) in R2018 version.

1 view (last 30 days)
UnknownUser
UnknownUser on 28 Jun 2019
Closed: MATLAB Answer Bot on 20 Aug 2021
According to the doc of voronoi, it seems h would be a a vector of two chart line handles in h=voronoi(...). In R2014b it's true.
```matlab
h(1)
ans =
Line with properties:
Color: [0 0.4470 0.7410]
LineStyle: 'none'
LineWidth: 0.5000
Marker: '.'
MarkerSize: 6
MarkerFaceColor: 'none'
XData: [1x200 double]
YData: [1x200 double]
ZData: [1x0 double]
Show all properties
```
h contains the information of edges and vertices.
While in R2018, it becomes
```matlab
h(1)
ans =
handle to deleted Data
```
and all the data are gone.
Is there any way that I can get the same data on R2018 as what I did in R2014?

Answers (0)

Products


Release

R2018a

Community Treasure Hunt

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

Start Hunting!