Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var what = ee.ImageCollection('MODIS/006/MOD13A2').select('NDVI'); | |
var where = ee.Geometry.Point([-93.51, 35.76]); | |
var chartStyle = { | |
title: 'ggplot2 Default Chart Style', | |
colors: ['F8766D'], | |
hAxis: { | |
title: 'Observation Date', | |
titleTextStyle: {italic: false, bold: true}, | |
gridlines: {color: 'FFF'}, | |
baselineColor: 'FFF' |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var what = ee.ImageCollection('MODIS/006/MOD13A2').select('NDVI'); | |
var where = ee.FeatureCollection([ | |
ee.Feature(ee.Geometry.Point([-93.51, 35.76]), {'veg_type': 'Deciduous'}), | |
ee.Feature(ee.Geometry.Point([-122.06, 37.01]), {'veg_type': 'Coniferous'}) | |
]); | |
var how = ee.Reducer.mean(); | |
var by = 'veg_type'; | |
print(ui.Chart.image.seriesByRegion(what, where, how, null, null, null, by)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var collection = ee.ImageCollection('MODIS/006/MOD13A2'); | |
var band = 'NDVI'; | |
var where = ee.Geometry.Point([-93.51, 35.76]); | |
print(ui.Chart.image.doySeriesByYear(collection, band, where)); |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var what = ee.ImageCollection('MODIS/006/MOD13A2').select('NDVI'); | |
var where = ee.Geometry.Point([-93.51, 35.76]); | |
print(ui.Chart.image.series(what, where)); |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
// Import the example feature collection and subset the forest feature. | |
var forest = ee.FeatureCollection('projects/google/charts_feature_example') | |
.filter(ee.Filter.eq('label', 'Forest')); | |
// Load MODIS vegetation indices data and subset a decade of images. | |
var vegIndices = ee.ImageCollection('MODIS/006/MOD13A1') | |
.filter(ee.Filter.date('2010-01-01', '2020-01-01')) | |
.select(['NDVI', 'EVI']); | |
// Define the chart and print it to the console. |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.