Skip to content

how to plot nodes by symbols and text? #49

@Easonchen12

Description

@Easonchen12

Here is my code, which I tried to plot nodes with symbols and text.(I'd like to add the number in the circle)

PlotWebByLevel(Pond, ylim=c(1,4.2), main='Mesocosm Test',
,show.nodes.as="points",label.cex=0.6,node.labels=NPS(Pond,"code")) #Pond is my community, I try to use "nodes.labels=NPS(Pond,"code"))" to add the text for each nodes. "code" is the vector in the "nodes" file. when I run this code, the pic only show the symbols for each node, the text is missed. Could you help me to do that? thanks in advance.
foodweb_plot
Screenshot_27-11-2024_172622_

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions