this is for holding javascript data
Adrian Price-Whelan
over 10 years ago
Commit id: 407181ba87edef94523cd3634a57f1b15e446063
deletions | additions
diff --git a/states.json b/states.json
new file mode 100644
index 0000000..0712e26
--- /dev/null
+++ b/states.json
...
{
"title" : "Something about M dwarfs",
"states" : [
{
"grid" : {
"nRows" : 2,
"nColumns" : 2
},
"name" : "Josh one",
"figure" : {
"padding" : {
"top" : 0,
"left" : 50,
"right" : 0,
"bottom" : 40
},
"plotStyle" : {
"spacing" : {
"vertical" : 75,
"horizontal" : 75
},
"size" : {
"width" : 300,
"height" : 300
}
}
},
"caption" : "This is me attempting to create the figure Josh sent.",
"selection" : {
"type": "box",
"bounds": [
{
"range": [1.5,2.5],
"columnName" : "Semi-major axis (km)"
},
{
"range": [-900,-400],
"columnName" : "Orbital period (day)"
}
]
},
"plots" : [
{
"gridPosition" : [0,0],
"xAxis" : {
"columnName" : "Discovery year"
},
"yAxis" : {
"columnName" : "Mass [10^16 kg]"
},
"type" : "scatter"
},
{
"gridPosition" : [0,1],
"xAxis" : {
"columnName" : "Eccentricity"
},
"yAxis" : {
"columnName" : "Inclination (deg)"
},
"type" : "scatter"
},
{
"gridPosition" : [1,0],
"xAxis" : {
"columnName" : "Semi-major axis (km)"
},
"yAxis" : {
"columnName" : "Orbital period (day)"
},
"type" : "scatter",
"style" : {
"selected" : {
"opacity" : 1.0
},
"unselected" : {
"opacity" : 0.75
}
}
},
{
"gridPosition" : [1,1],
"xAxis" : {
"columnName" : "Discovery year"
},
"type" : "histogram"
}
]
}
]
}