gadfly Questions

2

Solved

In my attempts to practice Julia, I've made a program which draws a bifurcation diagram. My code is as follows: function bifur(x0,y0,a=1.3,b=0.4,n=1000,m=10000) i,x,y=1,x0,y0 while i < n &amp...
Steel asked 3/9, 2014 at 9:39

2

Solved

Having come from Matlab I am struggling to work out why the following does not work: plot(x=rand(10),y=rand(10)) Produces a graph correctly. x=rand(10) y=rand(10) plot(x,y) produces error: ...
Multivalent asked 29/9, 2014 at 10:17

1

Solved

Plotting functions directly is easy in Gadfly: plot([sin, cos], 0, 25) This gives my two differently colored lines, automatically labelled in the legend as something like f_1 and f_2: How can...
Marge asked 5/5, 2017 at 9:36

1

What is the best way of adding a custom color map to a theme in Gadfly.jl? Say if I create a new color map as follows: n = 12 color_map = distinguishable_colors(n, Color[LCHab(50, 60, 290)], tran...
Assimilate asked 11/4, 2016 at 18:29

2

Solved

I make a plot like this: plot( layer(x=sort(randn(1000),1), y=sort(randn(1000),1), Geom.point), layer(x=[-4,4], y=[-4,4], Geom.line(), Theme(default_color=color("black")))) As you can see, ...
Lathing asked 18/11, 2014 at 13:30

2

Solved

I am interested in using Greek letters and math symbols in the title and labels for a Gadfly plot in Julia. Does anyone know of a way to do this, or is this not supported (yet)?
Hanson asked 27/4, 2016 at 4:47

2

Solved

I am using Julia 0.4.5 on Windows 7. When I invoke Gadfly.plot, Internet Explorer opens up to display the plot. How can I configure Julia to use a browser of my choice (like Google Chrome) to disp...
Kraigkrait asked 29/3, 2016 at 8:6

2

Solved

I am using Julia for Financial Data Processing and then plotting graphs based on the financial data. on X-Axis of graph I am plotting dates (per day prices) on Y-Axis I am plotting Stock Prices, M...
Offspring asked 12/2, 2014 at 7:28

1

Solved

Is it possible to render a Gadfly plot directly to a canvas? I would like to develop a Julia GUI using gtk which renders Gadfly plots. I am hoping for something along the lines of: some_plot = p...
Nkvd asked 6/6, 2014 at 22:6

2

Solved

I would like to draw a labelled scatterplot, like shown below, in Gadfly. (Source: http://support.sas.com/documentation/cdl/en/statug/63033/HTML/default/images/renda.png) How can I do this? The...
Made asked 23/2, 2015 at 1:5

1

Solved

I'm trying to plot a matrix with Gadfly, like I can do with PyPlot's matshow: using PyPlot p = eye(5) p[5,5] = -1 matshow(p) But I took a look at the docs, and found nothing. How can I do it...
Editorial asked 6/7, 2014 at 17:57

1

Solved

I'm trying to create a plot in Julia (currently using Gadfly but I'd be willing to use a different package). I have a multidimensional array. For a fixed dimension size (e.g. 4875x3x3 an appropriat...
Occult asked 25/5, 2014 at 17:2

1

Solved

Is there currently a way to add plot elements together in Gadfly.jl? For example, in R if I have another function that returns a ggplot and I want to add a title to it, I'd do the following: p &l...
Glabella asked 10/5, 2014 at 19:25
1

© 2022 - 2024 — McMap. All rights reserved.