OpenSourceEcon / BootCamp2019

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

Plotting points and function #24

Open azinoma opened 5 years ago

azinoma commented 5 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 5 years ago

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

azinoma commented 5 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.