Hi

1. Read files/lines into R ?read.table, ?read.lines
2. Merge files according to your specification ?merge, ?rbind
3. Plot values by suitable command(s) ?plot, ?ggplot
4. If you want more specific answer, please post more specific question, 
preferably with concise and clear example.
5. Avoid posting in HTML

Cheers
Petr

> -----Original Message-----
> From: R-help <r-help-boun...@r-project.org> On Behalf Of lily li
> Sent: Wednesday, September 12, 2018 8:55 AM
> To: R mailing list <r-help@r-project.org>
> Subject: [R] how to plot gridded data
>
> Hi R users,
>
> I have a question about plotting gridded data. I have the files separately, 
> but do
> not know how to combine them. For example, each txt file has daily
> precipitation data at a specific grid cell, named pr_lat_lon.txt. How to plot 
> all
> txt files for one surface (which is rectangular in this case), or how to 
> combine
> the txt files together? Thanks.
>
> [[alternative HTML version deleted]]
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
Osobní údaje: Informace o zpracování a ochraně osobních údajů obchodních 
partnerů PRECHEZA a.s. jsou zveřejněny na: 
https://www.precheza.cz/zasady-ochrany-osobnich-udaju/ | Information about 
processing and protection of business partner’s personal data are available on 
website: https://www.precheza.cz/en/personal-data-protection-principles/
Důvěrnost: Tento e-mail a jakékoliv k němu připojené dokumenty jsou důvěrné a 
podléhají tomuto právně závaznému prohláąení o vyloučení odpovědnosti: 
https://www.precheza.cz/01-dovetek/ | This email and any documents attached to 
it may be confidential and are subject to the legally binding disclaimer: 
https://www.precheza.cz/en/01-disclaimer/

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to