How would I add PlotLegends, axis labels, etc. to a plot generated using Wolfram|Alpha?
For instance, the following simple command generates three lines:
plot [y/324, y/275, y/221 for y=200 to 1000 ]
I would like to label the first “oil”, the second “propane” and the third “gas” instead of having the default legends shown below. Also, I’d like to label the y and x axis…
I’m new to Wolfram|Alpha and haven’t been able to find any real documentation on what is supported. Can you provide a link? General Mathematica documentation seems of limited utility.
In that I’m querying Alpha for the Mathematica expression necessary to create the plot it displays, and Show[]ing it with the options we want. You can add any Plot options you want.
There’s probably an easier way to do this, but this was the first I found.
Although I’m a little confused as to why you can’t just do Plot[{y/324, y/275, y/221}, {y, 200, 1000}]…
I could’t immediately make it work on Wolfram Alpha. But if you need the figure the following could work. You sign up for a free (!) account for the Wolfram Programming Cloud:
The Wolfram Cloud is more powerful than Wolfram Alpha alone - it can make W|A requests. You get a whole lot of functionality for free. It gives you a great deal of flexibility of how to format the output.
Actually the RotateLabel function should not be necessary, but the labelling of the y-axis overlapped with the figure without it. I suppose that’s a minor glitch in the Cloud.