Skip to content

Yingying_Exercise 7#9

Open
yunluyingying wants to merge 10 commits into
lyy005:masterfrom
yunluyingying:master
Open

Yingying_Exercise 7#9
yunluyingying wants to merge 10 commits into
lyy005:masterfrom
yunluyingying:master

Conversation

@yunluyingying

Copy link
Copy Markdown

Sorry for the delay but I was kind of exhausted due to interview last week and this week. Sorry about this.

Yingying

Comment thread Exercise_7.py
plt.title('Sequence Length')
ax2 = fig.add_subplot(122)
ax2=plt.hist(df['%GC'],edgecolor="black")
plt.title('%GC')

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Comment thread Exercise_7.py
import pandas as pd
import seaborn as sns
data_2=pd.read_table('/Users/chenyingying/Documents/Intro_Biocom_ND_319_Tutorial7/LakeGPP.txt',sep='\t')
sns.lmplot(x="TP_mgm3", y="GPP_mmolm3d", data=data_2,size=8)

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job

Comment thread Exercise_7.py
f2.set(xticks=[0,1,2,3])
f2.set(xticklabels=['east','north','south','west'])
f2.set(xlabel='region')
f2.set(title='Scatter plot') No newline at end of file

@lyy005 lyy005 Oct 26, 2017

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job. In plotnine, you can make jitter plot with command:
data_scatterplot+geom_point()+geom_jitter(width=0.2)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants