sisl / AA120Q

AA120Q Course Materials
28 stars 8 forks source link

Switch to Gadfly #7

Closed tawheeler closed 8 years ago

tawheeler commented 8 years ago

Pure julia!

tawheeler commented 8 years ago

Encounter plots now use Gadfly as of 31353dc

tawheeler commented 8 years ago

Note: students need to install Plots.jl and PlotlyJS.jl

mykelk commented 8 years ago

Why Plotly? I don't seem to see it mentioned in the codebase.

tawheeler commented 8 years ago

In jnotebooks you are in the browser, and plotly gives you really nice interactive plots. I have added a call to request plotly as the default backend but haven't committed it yet. It will still work even if they don't have it installed - it would use a different backend

mykelk commented 8 years ago

Don't you need a plotly account/token to use it?

mykelk commented 8 years ago

And will it work without a network connection?

tawheeler commented 8 years ago

EDIT: We are using Plotly.js: Just 'Pkg.add("PlotlyJS")'

smostars commented 8 years ago

This may explain the plot problem I see when using plot_encounter() with TCAS. There seems to be a problem with how plotly interacts with JS. This only happens if I do the TCAS plot by itself.

tawheeler commented 8 years ago

We are fully converted to Plots.jl using the PlotlyJS backend.