Hi! I have some coordinates points (non-grid or non-square):
Each scatter points have x values:
74-element Vector{Any}:
13.0
2.0
59.5
55.0
22.0
57.5
21.0
28.0
100.5
35.0
64.0
34.5
23.0
⋮
85.5
83.0
66.0
27.5
93.0
61.0
69.5
76.0
69.0
16.5
110.0
106.0
and y values:
74-element Vector{Any}:
0.0
0.0
0.8660254037844386
1.7320508075688772
1.7320508075688772
2.598076211353316
3.4641016151377544
3.4641016151377544
4.330127018922193
5.196152422706632
5.196152422706632
6.06217782649107
6.928203230275509
⋮
0.8660254037844386
1.7320508075688772
1.7320508075688772
2.598076211353316
3.4641016151377544
3.4641016151377544
4.330127018922193
5.196152422706632
5.196152422706632
6.06217782649107
6.928203230275509
6.928203230275509
And also, I have specific returning values of the function (or depth) according to each of these scatter points. The returning values of the function:
192-element Vector{Float64}:
0.01026092990158084
0.009416080348692598
0.012298969043634662
0.013916606632920811
0.013167799244802145
0.014012477885523053
0.012621339395756463
0.010104323450266985
0.009989015887079901
0.0079859912194493
0.00572453020447633
0.006531826655798263
0.008111449480620387
⋮
0.00899896427675875
0.006889139181813508
0.007463671690395065
0.007420493510579368
0.008208763532334944
0.0071625911073200915
0.007557154510503339
0.00962856024830995
0.007751236255200042
0.007921710076830122
0.009087707129757795
0.009139276992711463
My function depends on x and y coordinates. For example;
MyFunction(x_co[6],y_co[6]) = 0.00899896427675875
So, I want to plot z values (or depth or returning values of the MyFunction()) on this 2D scatter plot via a non-square heatmap (due to the structure of scatter points) or surface.
When I try to plot as a surface, I encounter the error:
*** IDENTICAL DATA POINTS.
NDP = 74 IP1 = 28 IP2 = 44 XD=21 YD=6.9282
ERROR DETECTED IN ROUTINE IDTANG.