Creating plots that are publication-ready is essential, simply because we must be able to share our knowledge. In this section, we're going to take a look at plotting multiple variables on a single plot, adding a legend to that plot, and then saving our plots to a file. Let's go back to our notebook and check the last plot that we created in the previous section, which was the 200-day moving average of the stock price of Apple since the beginning. I want to point out a few things about our previous plot. First, we have a legend at the top that just says plot1.dat, and, if you've never seen this before, currently that doesn't really mean anything to anyone. Also, there's no way in this mechanism to save to a file the output that you see. We could definitely get some screenshot software and then create our own screenshot...
United States
Great Britain
India
Germany
France
Canada
Russia
Spain
Brazil
Australia
Singapore
Hungary
Philippines
Mexico
Thailand
Ukraine
Luxembourg
Estonia
Lithuania
Norway
Chile
South Korea
Ecuador
Colombia
Taiwan
Switzerland
Indonesia
Cyprus
Denmark
Finland
Poland
Malta
Czechia
New Zealand
Austria
Turkey
Sweden
Italy
Egypt
Belgium
Portugal
Slovenia
Ireland
Romania
Greece
Argentina
Malaysia
South Africa
Netherlands
Bulgaria
Latvia
Japan
Slovakia