Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Problems to plot the legend with plot_results/plot maps #15

Open
aastarloa opened this issue Jul 10, 2019 · 1 comment
Open

Problems to plot the legend with plot_results/plot maps #15

aastarloa opened this issue Jul 10, 2019 · 1 comment

Comments

@aastarloa
Copy link

Hi there,
I would like to add a legend to the density map obtained via VAST but I am getting an error. This is what I have done:

MapDetails_List = make_map_info( "Region"=settings$Region, "spatial_list"=fit1$spatial_list, "Extrapolation_List"=fit1$extrapolation_list)
MapDetails<-MapDetails_List[["MappingDetails"]]

plot_results(settings=settings, fit=fit1, plot_maps(Legend=MapDetails_List[["Legend"]], Report=fit1$Report, PlotDF=MapDetails_List[["PlotDF"]],
MappingDetails = MapDetails, Xlim=MapDetails_List[["Xlim"]],
Ylim = MapDetails_List[["Ylim"]]))

And this is the error:

Making plot of densities

Error in plot_maps(plot_set = plot_set, MappingDetails = map_list[["MappingDetails"]], :
object 'Array_xct' not found

Any suggestions?
Thank you in advance

@aastarloa
Copy link
Author

Well, it gave me error but still I can get the legend I was looking for, so by now works for me.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant