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'
plot [--y1 YAXIS1] [--y2 YAXIS2]
|Select the data you wish to plot on the first y-axis. You can select multiple variables here.
|Select the data you wish to plot on the second y-axis. You can select multiple variables here.