I have the plot generated by the following code:
hydroTSM::hydroplot(as.zoo(series_xts[,i]),FUN=funcion,na.rm=TRUE,
ptype="ts+boxplot+hist",pfreq=escalas,xlab='Tiempo',ylab=variable,
var.unit=unidad,col=colores_pastel,main=names(series_xts[,i]))
How can I save it in my working directory as a png file?
I understand that it is of class Histogram
You can open a png file and print the graph in it before closing it:
this will save a file with 300 dpi called "plotgraph.png" in your working directory