Open EssamWisam opened 8 months ago
I have three vectors of length 100 each resembling $x$, $y$, $f(x,y)$. I was interested in drawing a contour plot for $f(x,y)$ and had to consider interpolation.
using Dierckx x = [0.7222222222222222, 0.7777777777777778, 0.9444444444444444, 0.6666666666666666, 0.8333333333333334, 0.6111111111111112, 0.5555555555555556, 0.6666666666666666, 0.7777777777777778, 0.5555555555555556, 0.8333333333333334, 1.0, 0.7777777777777778, 1.0, 0.8888888888888888, 0.7222222222222222, 0.5, 0.6111111111111112, 0.5, 0.7222222222222222, 1.0, 0.6111111111111112, 0.8888888888888888, 0.6111111111111112, 0.8333333333333334, 0.7777777777777778, 0.6666666666666666, 0.7777777777777778, 0.8333333333333334, 0.6111111111111112, 0.7222222222222222, 0.5555555555555556, 1.0, 0.9444444444444444, 0.6666666666666666, 0.5555555555555556, 0.5, 1.0, 0.5, 0.5555555555555556, 0.6666666666666666, 0.7222222222222222, 0.5, 0.6666666666666666, 0.5, 0.6666666666666666, 0.5, 0.5, 0.8888888888888888, 0.5, 0.5555555555555556, 0.5, 0.6666666666666666, 0.9444444444444444, 0.9444444444444444, 0.7222222222222222, 0.7777777777777778, 0.7777777777777778, 1.0, 0.8888888888888888, 0.6666666666666666, 0.8888888888888888, 1.0, 1.0, 0.6666666666666666, 0.9444444444444444, 1.0, 0.7222222222222222, 0.7777777777777778, 0.6111111111111112, 0.8888888888888888, 0.8333333333333334, 0.7777777777777778, 0.6111111111111112, 0.6111111111111112, 0.8333333333333334, 0.8888888888888888, 0.8333333333333334, 0.5555555555555556, 0.5555555555555556, 0.5555555555555556, 0.6111111111111112, 0.5555555555555556, 0.7222222222222222, 0.7777777777777778, 0.9444444444444444, 0.6111111111111112, 0.9444444444444444, 0.8333333333333334, 0.7222222222222222, 0.9444444444444444, 0.8333333333333334, 0.9444444444444444, 0.7222222222222222, 0.8888888888888888, 0.9444444444444444, 0.8333333333333334, 0.8888888888888888, 1.0, 0.8888888888888888] y = [14, 20, 16, 3, 20, 5, 1, 7, 3, 20, 5, 3, 16, 20, 14, 1, 18, 1, 9, 18, 16, 7, 1, 3, 3, 9, 14, 18, 12, 18, 12, 12, 18, 3, 5, 5, 20, 14, 16, 16, 18, 20, 5, 9, 14, 20, 7, 3, 20, 12, 3, 1, 1, 18, 9, 5, 14, 7, 12, 5, 12, 9, 5, 1, 16, 5, 9, 7, 5, 20, 16, 7, 12, 12, 14, 14, 7, 16, 18, 9, 7, 9, 14, 16, 1, 14, 16, 1, 1, 9, 12, 18, 7, 3, 18, 20, 9, 3, 7, 12] z = [0.006351475623209886, 0.011192748898413877, 0.004869813973876742, 0.001973430001963981, 0.009828455136554337, 0.00210370674372345, 0.002932617074828051, 0.0021460030450976848, 0.0021064472224843816, 0.018569388523534642, 0.0018376404037600917, 0.0036225306262139788, 0.007482682565255224, 0.007131032347247583, 0.004456584509221484, 0.003003281876888257, 0.018586309525361132, 0.003156344687884357, 0.006318746373280446, 0.01131577175574574, 0.004708208753217299, 0.003104893305965483, 0.00396936565945406, 0.0018317064311792859, 0.0018317064311792859, 0.003306427312309828, 0.007232913551361197, 0.00999644509864749, 0.004170124250281455, 0.015006598674328778, 0.005691941071878802, 0.005691941071878802, 0.005444233904727671, 0.0032005569304788717, 0.0018297196325042988, 0.0018297196325042988, 0.022460278959845356, 0.004396831413497289, 0.01543652626721628, 0.01543652626721628, 0.012623995456497342, 0.012802543534932175, 0.003007342420199918, 0.003961503136936988, 0.01131342881554476, 0.01267546826341072, 0.003953598942253883, 0.0019166368974115793, 0.008737164036568254, 0.010356385891213842, 0.001655412724761279, 0.0026741604203963164, 0.0026741604203963164, 0.006123615117851082, 0.002475418051070661, 0.0022880575179344254, 0.005537379122449932, 0.002407227864717604, 0.0030050786079581266, 0.0018875613139429054, 0.005043713444238118, 0.0024697555808722523, 0.0021374928753109057, 0.004013058912260644, 0.011387335304916067, 0.002059691538507389, 0.002562908191253542, 0.002369250036851818, 0.0022115406156488658, 0.015559809356755317, 0.005115007059314164, 0.0021287165182972004, 0.0048347036575673895, 0.0048347036575673895, 0.008273675248584885, 0.008273675248584885, 0.002206107161964064, 0.006584619012148834, 0.015625743573359108, 0.003809130007045038, 0.003644814307748434, 0.004366148018770151, 0.009004309535968938, 0.009353990285657632, 0.0037291816631724686, 0.00466818260157363, 0.011519464107553692, 0.003908195259469911, 0.003908195259469911, 0.003376793575379169, 0.0033095963165339385, 0.007939051927745168, 0.0024812231111138276, 0.0020006363091174643, 0.006967420633901726, 0.0073927066920747575, 0.0028867822729466883, 0.002837234600979641, 0.0029393446137467353, 0.003984909190714827] spline = Spline2D(x, y, z)
Whenever I try running this I get:
The required storage space exceeds the available storage space: nxest or nyest too small, or s too small. Try increasing s.
I don't understand what storage space its complaining about or what is any of nxest, nyest, s. I can't find them in the docs either.
nxest
nyest
s
Any help would be appreciated. Thanks for the nice package.
I have three vectors of length 100 each resembling $x$, $y$, $f(x,y)$. I was interested in drawing a contour plot for $f(x,y)$ and had to consider interpolation.
Whenever I try running this I get:
I don't understand what storage space its complaining about or what is any of
nxest
,nyest
,s
. I can't find them in the docs either.Any help would be appreciated. Thanks for the nice package.