Questions tagged [julia-plots]

95 questions
1
vote
1 answer

Julia groupedDataFrame plot not showing in name

I am attempting to plot in julialang a single plot with groupedDataFrames ... which isn't working if I just pass the array of traces... but for now I am just trying to put the GroupKey as a string under the X-Axis of a single plot... but it just…
Erik
  • 2,782
  • 3
  • 34
  • 64
1
vote
0 answers

Pkg.precompile error when adding packages in project virtual environment(Julia)

Pkg.precompile error when adding packages in project virtual environment(Julia) I experience difficulities adding packages into a project virtual environment.I see these error messages within REPL:[[enter image description…
ffz
  • 11
  • 1
1
vote
2 answers

How to fix the problem of plotly cannot use?

I was trying to follow the document for package plotly for my own dataset, no matter what I write there is always error raised saying there are no methods match it, then I have tried the document example directly, there are still errors…
hahaha
  • 183
  • 5
1
vote
0 answers

how to draw this with gadfly in julia

I have got this dataset so far: julia>import Downloads julia>using DLMReader, VegaLite, InMemoryDatasets julia>data=Downloads.download("https://raw.githubusercontent.com/akshdfyehd/salary/main/ds_salaries.csv")…
hahaha
  • 183
  • 5
1
vote
0 answers

How to draw three box plot for each job title in each year from 2020,2021,2022(no makie package)?

I have got this dataset: and so far I have draw this: I need to draw three box plot for each job title to represent the different work year from 2020,2021,2022,no makie package cause somehow my computer can't install it, can someone please give…
hahaha
  • 183
  • 5
1
vote
1 answer

Modifying label and tick on color bar of Plots.jl plot

I have a scatter plot generated using Plots.jl in Julia via Plots.scatter(x, y, marker_z = z). This results in a scatter plot of x and y, where points are colored according to the corresponding values in z. There is a vertical color bar to the right…
Sam Polk
  • 73
  • 4
1
vote
1 answer

plots.jl heatmap does not preserve orientation

I'm trying to use the heatmap function fro plots.jl as a simple means to visualize small grayscale pixel grids. But I've discovered that this function does not preserve the orientation of the matrix it plots. For example: julia> using Random,…
Patrick
  • 51
  • 7
1
vote
0 answers

Double y axis in a subplot

I would like to have a double y-axis in one of my subplots; however, it seems like I am missing something about twinx() and link = :x, but I couldn't figure out what.. Plotting double y-axis using twinx() works fine in a standard plotting frame.…
1
vote
1 answer

Can't compile Plots

I installed a new version of Julia, version 1.7. And while trying to install Plots, I had the following error. I did ] add Plots and ] build Plots without any errors. julia> using Plots [ Info: Precompiling Plots…
JKHA
  • 1,800
  • 11
  • 28
1
vote
1 answer

Size and Colour in Julia Scatter Plot

I want create a scatter plot. I have point size and colour in additional variables (vectors). x = Float64.(1:10) y = Float64.(1:10) c = Float64.(1:10) s = Float64.(1:10) scatter(x,y) I've been googling very long now and could not find the right…
Georgery
  • 7,643
  • 1
  • 19
  • 52
1
vote
1 answer

julia plot not working with float64 vectors

I'm trying to plot 2 series, a training set and a testing set with plots: xp = append!(XTrain.humidity, data.humidity) yp = append!(YTrain, predictions) println(length(xp)) println(length(yp)) Plots.plot(x=xp, y=yp,seriestype=:scatter) this…
qwerty_99
  • 640
  • 5
  • 20
1
vote
1 answer

How to solve a 4th order differential equation in space and time variables in Julia

I am relatively new to solving differential equations in Julia and thus cant figure out how to solve a higher order ode in 2 independent variables(space and time) and thus would request for assistance. I am trying to plot the curve using Julia…
Rodash
  • 13
  • 2
1
vote
1 answer

Can't plot in Julia

I am currently reading a book (BRML) which has a demo (earthquake demo, exercise 1.22), which is written in Julia. I have never used Julia (although used Python and other languages quite extensively) before so I'm a complete noob. What exactly does…
Slim Shady
  • 220
  • 3
  • 18
1
vote
1 answer

How is it possible to collect NLexpression in a loop?

Would you please help me that how I can collect some NLexpressions in a loop? I Want to keep k8 and k9 for all i=1:10 as scenarios. It means in the end of the loop, Q equal to collection of k8 and k9 under each scenario ( i ). I couldn't define a…
Soma
  • 743
  • 6
  • 19
1
vote
1 answer

Julia Box plots, not reading columns where the csv file column that the name has spaces and parenthesis but has no problem reading 1word column title

So here's the code in Julia using CSV using DataFrames using PlotlyJS df= CSV.read("path", DataFrame) plot(df, x=:Age, kind="box") #I DO get the box plot for this one, because in the csv that column is headed with "Age" plot(df, x=:Annual Income…
Jeremy S
  • 141
  • 5