plot to function matlab with different y axis matplotlib code example Example: math plotlib 2 y axes gapminder_us = gapminder[gapminder.country=="United States"]