Timeline for Plotting region from list
Current License: CC BY-SA 4.0
12 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 8, 2018 at 15:37 | history | tweeted | twitter.com/StackMma/status/1015983215683784704 | ||
Jul 4, 2018 at 12:37 | vote | accept | SarahThompson | ||
Jun 28, 2018 at 11:01 | comment | added | SarahThompson | @LukasLang - That was very helpful, it does indeed do most of what I want and seems to be the best solution so far. The region boundaries are not always as smooth as I'd like, but I suppose I'll just need to scan across finer intervals. | |
Jun 28, 2018 at 10:57 | comment | added | SarahThompson |
@DavidG.Stork - Thanks, I am definitely trying to use the functionality of RegionPlot or ListPlot directly. Your first suggestion with ListPlot3D doesn't really work as I am simply looking for a region on the (2D) x-y plane to be shaded in. While the shape of the 3D plot from ListPlot3D is encouraging, I am not sure if I need the extra dimension...any ideas how to select the last value in each subset and have a constraint on that in a RegionPlot argument? I am struggling with using RegionPlot on lists.
|
|
Jun 28, 2018 at 10:54 | comment | added | SarahThompson |
@AlexeiBoulbitch - Thanks, have had a look at that. I guess in my case it would be something like Select[list, 5 < Last[#] < 7 &] , although I am not sure how to pass this into a RegionPlot argument?
|
|
Jun 28, 2018 at 10:29 | history | edited | kglr | CC BY-SA 4.0 |
added 4 characters in body
|
Jun 28, 2018 at 10:19 | answer | added | kglr | timeline score: 2 | |
Jun 27, 2018 at 19:55 | comment | added | David G. Stork |
Select will allow you to select the data that obeys some constraint, but if you use RegionPlot or simple ListPlot3D , etc., you will likely get the full range of positions, not restricted to where the data lie.
|
|
Jun 27, 2018 at 19:44 | comment | added | Alexei Boulbitch |
Have you seen Select ?
|
|
Jun 27, 2018 at 19:35 | comment | added | Lukas Lang |
I think you're looking for ListContourPlot . It accepts data in exactly your format, and you can easily specify which contours to draw using Contours (i.e. which regions).
|
|
Jun 27, 2018 at 19:33 | comment | added | David G. Stork |
ListPlot3D[xxx, RegionFunction-> Function[{z}, z<5]]
|
|
Jun 27, 2018 at 19:07 | history | asked | SarahThompson | CC BY-SA 4.0 |