Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up

Biplot recipes for Makie.jl

License

NotificationsYou must be signed in to change notification settings

MakieOrg/Biplots.jl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Build Status

Biplot recipes in 2D and 3D for Makie.jl.

Installation

Get the latest stable release with Julia's package manager:

] add Biplots

Usage

using Biplotsusing GLMakie# data matrix (22 paintings x 6 colors)data= [0.1250.2430.1530.0310.1810.2660.1430.2240.1110.0510.1590.3130.1470.2310.0580.1290.1330.3030.1640.2090.1200.0470.1780.2820.1970.1510.1320.0330.1880.2990.1570.2560.0720.1160.1530.2460.1530.2320.1010.0620.1700.2820.1150.2490.1760.0250.1760.2590.1780.1670.0480.1430.1180.3470.1640.1830.1580.0270.1860.2810.1750.2110.0700.1040.1570.2830.1680.1920.1200.0440.1710.3050.1550.2510.0910.0850.1610.2570.1260.2730.0450.1560.1310.2690.1990.1700.0800.0760.1580.3180.1630.1960.1070.0540.1440.3350.1360.1850.1620.0200.1930.3040.1840.1520.1100.0390.1650.3500.1690.2070.1110.0570.1560.3000.1460.2400.1410.0380.1840.2500.2000.1720.0590.1200.1360.3130.1350.2250.2170.0190.1870.217]# variable namesnames= [:Black,:White,:Blue,:Red,:Yellow,:Other]# choose any Tables.jl tabletable= (;zip(names,eachcol(data))...)# 2D relative variation biplot with colored dotsfig, ax=biplot(table, kind=:rform, dotcolor= table.Red)ax.aspect=DataAspect()

biplot2D

Please check the docstring?biplot for available attributes.


[8]ページ先頭

©2009-2025 Movatter.jp