powered by
Alternative plot procedure for dpseg, special function provided personally by dpseg curator. I made a few custom tweeks Including option to overlay multiple plots
plot_dpseg2( x, delog = FALSE, col, main, xlab, ylab, res = 10, vlines, overlay, textX, textY, textLabel, ylim )
returns no value but has side effect of producing a graph
dpseg object to plot
Boolean use log scale if TRUE
color
character title of graph
character label for x axis
character label for y axis
numeric resolution
Boolean if FALSE suppress vertical lines in graph
Boolean if TRUE this plot is an overlay of previous plot
numeric x position for text box
numeric y position for text box
character string to label the points in the graph
numeric vector ylim for plot
pdp<-plot_dpseg2(segs,overlay=FALSE,xlab="xaxis", ylab="yaxis",vlines=FALSE,textX=2000,textY=20, textLabel="label",ylim=c(0,60))
Run the code above in your browser using DataLab