scatter polar plot interpolation
12 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
tony74
am 6 Feb. 2019
Kommentiert: yaopeng
am 23 Dez. 2020
How can I produce a scatter plot in polar coordinates in Matlab? I need to have a scatter plot (r,theta,Z) where Z values are represented with a colorbar.
The result which I would like to obtain is the same of polarPlot function in R (openair package). In the image you can see an example of graph obtained
with R.
In Matlab I tried with ScatterWindRose (from File Exchange) function, but it is not exactly what I want. I need a kind of surface interpolation of the dots.
Can you help me?
1 Kommentar
Akzeptierte Antwort
Bjorn Gustavsson
am 6 Feb. 2019
Have a look at the help for TriScatteredInterp, griddata those functions should help you interpolate between your measurement points, then you might have use for this file exchange contribution: Polar pcolor
HTH
4 Kommentare
Bjorn Gustavsson
am 12 Feb. 2019
Try to find out why! Step 1, go trhough all possible permutations of Z R and theta.
Step 2: type "dbstop if error" on the command-line prompt, run the polarPcolor again - and you'll get a debug-prompt in the function where the error occurred, then you have command-line access to all variables in that workspace - as well as the possibility to jump further up (and down) the function-call-stack by "dbup" (and dbdown).
HTH
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Polar Plots finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!