Questions tagged [gadfly]

Gadfly is plotting package for the Julia programming language.

"Gadfly is a system for plotting and visualization based largely on Hadley Wickhams's ggplot2 for R, and Leland Wilkinson's book The Grammar of Graphics."

It is built upon Julia programming language

100 questions
0
votes
0 answers

Julia Plot mesh with labeled faces

I have a triangular mesh encoded as 3 x M vertices matrix, whose each column represents vertex of 3d mesh object 3 x N faces matrix, whose each column is a set of 3 column indices of vetrices that define a triangle N length vector of labels (some…
aberdysh
  • 1,634
  • 2
  • 13
  • 34
0
votes
0 answers

Gadfly adjust axis

I don't have much experiencie with Gadfly package in Julia language and I wish I know if there is a solution for my problem. This is my first question here. I need to plot a graphic that values in axis x are [1.0 0.1 0.01 0.001 0.0001 0.00001…
Lvi
  • 13
  • 3
0
votes
1 answer

Julia Gadfly legend for line types

To insert legends for different lines with different colors I use Guide.manual_color_key However I couldn't find anything to add legend for lines with same color but with different line types. Is it possible?
K.O.
  • 1
0
votes
0 answers

Gadfly package cannot be found?

Using Julia 0.5.0 and Emacs 25.1 on a Windows 10 machine, I am attempting to use the Gadfly package. Unfortunately, the following output appears: C:\Users\CaitlinG>julia -e "using Gadfly" ERROR: ArgumentError: Module Gadfly not found in current…
CaitlinG
  • 1,955
  • 3
  • 25
  • 35
0
votes
1 answer

Plotting multiple Gadfly plots in a loop and saving to pdf

I am a relatively new Julia coder, and I want to plot multiple Gadfly plots in a loop and save them to a pdf. If I do it without a loop, just for one block, the code is like this: plot(x=[0, B_length[2,1,1],B_length[2,1,1],0], y=[0,0,1,1], …
Ashley A Holmes
  • 69
  • 3
  • 5
  • 10
0
votes
1 answer

Change gadfly layer order in julia

I'm using Gadfly to plot layers, how can I change the order? I already tried follow the docs but it doesn't work. using DataFrames df = readtable("data/01_heights_weights_genders.csv") xmin, xmax = extrema(df[:Height]) ymin, ymax =…
pmargreff
  • 82
  • 3
  • 14
0
votes
0 answers

Plotting in a function in IJulia

I have major issues with the visualization of output while using Julia notebook. First, I cannot use PyPlot: when typing using PyPlot, I receive the following error message This call to matplotlib.use() has no effect because the backend has already…
user16296
  • 31
  • 5
0
votes
0 answers

julia/gadfly multi layer in plotting, is there a python-like function?

I planned to plot some datasets in one figure, but the number of datasets is not determined (and I need to use loop to load the data from time to time). It would be extremely complex if I load all the data and set each layer in one plot function. I…
Ze Lei
  • 1
  • 1
0
votes
1 answer

Julia Gadfly error: add_plot_element not found

Using Julia 0.3.10 with Juno as IDE and Gadfly latest one. Tried running a sample code, but got stuck with add_plot_element not defined error message. The last line throws the error. Running on Win8 64bit. I'm sure I'm missing something. using…
Frash
  • 724
  • 1
  • 10
  • 19
0
votes
1 answer

Gadfly for Julia, plotting multiple dimension in Bar Chart

I have question regarding the plotting package Gadfly for Julia Language. Suppose I have a DataFrame that Looks Like This: DataFrame:(DrinkType, Country, Month, Sales) Coke, UK, April, 500 Coke, US, April, 500 Coke, UK, March, 400 Coke, US, March,…
GameOfThrows
  • 4,510
  • 2
  • 27
  • 44
1 2 3 4 5 6
7