OpenSourceEcon / BootCamp2019

Repository of syllabi, lecture notes, Jupyter notebooks, code, and problem sets for OSE Lab Boot Camp 2019
85 stars 99 forks source link

Plotting points and function #24

Open azinoma opened 4 years ago

azinoma commented 4 years ago

Hi, I found a shortcut to plotting gridpoints, we can use: grid.plotPoints2D() to plot the gridpoints and grid.plotResponse2D() to plot the response surface.

Best, Marlon

jeannesorin commented 4 years ago

Is there anything similar in 3D (having 3 agents instead of 2 for example)?

azinoma commented 4 years ago

Hi,

not to my knowledge. Of course you can get the coordinates of the points with grid.getPoints() and then make the plot yourself. I recommend doing that to get a feeling of the behavior of the grid refinements.