I did not get the data .... but I was wondering what you have already tried.
Try group_by() function
Try fill= or color= in the aes() statement in ggplot.
What is the goal?
Do you want lines, bars, or dots?
Is this a class?
Tim
-----Original Message-----
From: R-help <r-help-bounces at r-project.org> On Behalf Of ektaraful
Sent: Saturday, February 26, 2022 2:00 AM
To: r-help at r-project.org
Subject: [R] Plot by month
[External Email]
Hi,
I want to plot temp data from a csv file by month. Can you help me how I can do
it in R?
A sample csv file is attached herewith. Please use left hand data.
Thanks.
ektaraK
______________________________________________
R-help at r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://urldefense.proofpoint.com/v2/url?u=https-3A__stat.ethz.ch_mailman_listinfo_r-2Dhelp&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=JeHylIm3ibHTYNZ-mLAAkF4JTrj_xyBnd0IQBZDJvV6HeovFeOLa5GwBe0LLBOwN&s=WJLtDEQ05d0kvlWFlrGCadjyBvwqCm_j37wsJ-CObyA&ePLEASE
do read the posting guide
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.R-2Dproject.org_posting-2Dguide.html&d=DwICAg&c=sJ6xIWYx-zLMB3EPkvcnVg&r=9PEhQh2kVeAsRzsn7AkP-g&m=JeHylIm3ibHTYNZ-mLAAkF4JTrj_xyBnd0IQBZDJvV6HeovFeOLa5GwBe0LLBOwN&s=QyEPln_51yStVY2Ec1hcAqygLeEh1CNf5JJT_vv1dto&eand
provide commented, minimal, self-contained, reproducible code.