jara001 / ng_trajectory

Racing Line Optimization using Nevergrad
GNU General Public License v3.0
5 stars 4 forks source link

Document plotting #30

Closed jara001 closed 1 year ago

jara001 commented 2 years ago

Plotting is quite useful here, but we lack the documentation for plot_args, so it is quite hard to tune it yourself.

Currently, this seems like a pretty reasonable set of arguments:

"plot_args": [
    {
        "_figure": {
            "function": "axis",
            "_args": [ "equal" ]
        },
        "trackPlot": [ "@track" ]
    },
    {
        "pointsPlot": {
            "_args": [ "@result" ]
        },
        "pointsScatter": {
            "_args": [ "@rcandidate" ]
        }
    }
]