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 &...
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:
...
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...
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...
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, ...
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)?
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...
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...
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...
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...
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...
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...
1
© 2022 - 2024 — McMap. All rights reserved.