Files
OpenBB/website/versioned_docs/version-v3/terminal/reference/economy/plot.md
Theodore Aptekarev f72bc8ccec Add Versioned Documentation (#5470)
* Adding versioning to docs

---------

Co-authored-by: andrewkenreich <andrew.kenreich@gmail.com>
Co-authored-by: tehcoderer <me@tehcoderer.com>
2023-09-29 11:49:05 +02:00

1.2 KiB
Vendored

title, description
title description
plot OpenBB Terminal Function

plot

This command can plot any data on two y-axes obtained from the macro, fred, index and treasury commands. To be able to use this data, just load the available series from the previous commands. For example 'macro -p GDP -c Germany Netherlands' will store the data for usage in this command. Therefore, it allows you to plot different time series in one graph. The example above could be plotted the following way: 'plot --y1 Germany_GDP --y2 Netherlands_GDP' or 'plot --y1 Germany_GDP Netherlands_GDP'

Usage

plot [--y1 YAXIS1] [--y2 YAXIS2]

Parameters

Name Description Default Optional Choices
yaxis1 Select the data you wish to plot on the first y-axis. You can select multiple variables here. True None
yaxis2 Select the data you wish to plot on the second y-axis. You can select multiple variables here. True None

Figure_1

Figure_2