Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- using Plots, GLVisualize, GLWindow;
- window = glscreen()
- # Create partitioned window for controls and view screens.
- editarea, viewarea = x_partition_abs(window.area, 180)
- edit_screen = Screen(
- window, area = editarea,
- color = RGBA{Float32}(0.0f0, 0.0f0, 0.0f0, 1f0))
- view_screen = Screen(
- window, area = viewarea, name=Symbol("Plots.jl"),
- color = RGBA(0.0f0, 0.0f0, 0.0f0, 1f0),
- stroke = (1f0, RGBA{Float32}(0.13f0, 0.13f0, 0.13f0, 13f0)))
- glvisualize()
- p = Plots.plot(Plots.fakedata(50,5),w=3)
- Plots._display(p)
- renderloop(window)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement