Search
 
SCRIPT & CODE EXAMPLE
 

TYPESCRIPT

subplots legend

ax1.plot(xtr, color='r', label='HHZ 1')
ax1.legend(loc="upper right")
ax2.plot(xtr, color='r', label='HHN')
ax2.legend(loc="upper right")
ax3.plot(xtr, color='r', label='HHE')
ax3.legend(loc="upper right")
Comment

subplots legend

f, (ax1, ax2, ax3) = plt.subplots(3, sharex=True, sharey=True)
l1,=ax1.plot(x,y, color='r', label='Blue stars')
l2,=ax2.plot(x,y, color='g')
l3,=ax3.plot(x,y, color='b')
ax1.set_title('2012/09/15')
plt.legend([l1, l2, l3],["HHZ 1", "HHN", "HHE"])
plt.show()
Comment

PREVIOUS NEXT
Code Example
Typescript :: canactivate get current url 
Typescript :: nodemon typescript 
Typescript :: email validation in typescript 
Typescript :: typescript singleton 
Typescript :: serenity.is LinkingSetRelation add column-picker-button 
Typescript :: typescript initialize map inline 
Typescript :: last 5 commits git log 
Typescript :: git list all commits that changed a file 
Typescript :: sort list of objects by attribute java 
Typescript :: how to call two method connected 
Typescript :: google sheets return number of unique items 
Typescript :: vetur change tsconfig location 
Typescript :: typescript add days to date 
Typescript :: key value pairs typescript 
Typescript :: if exists certain line in sql table java condition 
Typescript :: Firestore decrement field 
Typescript :: typescript == vs === 
Typescript :: throw error in typescript 
Typescript :: sort list of list 
Typescript :: notificationManager has not been initialized 
Typescript :: cannot find module jquery typescript ionic 
Typescript :: nodejs terminate the worker thread 
Typescript :: symfony assets install 
Typescript :: how to get absolute value of elements of list in python 
Typescript :: cast string react 
Typescript :: function that redirects to another page react 
Typescript :: typescript keyof 
Typescript :: typescript type for intervalid 
Typescript :: python find the number of elements in a list 
Typescript :: how to check if an entry exists in a model django 
ADD CONTENT
Topic
Content
Source link
Name
3+5 =