Questions tagged [plots.jl]

Plotting interface and wrapper for several julia plotting packages

Useful links

205 questions
0
votes
3 answers

How I can plot the actual vs predicted values for the neural network?

I am trying to plot the actual vs predicted values of my neural network which I created using keras. What I want exactly is to have my data scattered and to have the best fit curve for the training and testing data set? below is the code: import…
0
votes
1 answer

Drawing a regular polygon using Julia Plots and selecting the points from a scatter plot lying within the polygon

Suppose I have a scatter plot showing points on a 2D plane. What I want to do is to create a regular polygon and color the points inside and at the boundary of the polygon differently. I would also like to return the coordinates of the points inside…
dbrane
  • 129
  • 5
0
votes
2 answers

Opening Julia plots in VScode not in GKS QTterm

When I run a plot command in Julia, plot opens in external GKS QTterm window. How to open plot right there in VScode? using Plots plot(rand(10)) Opened window in QTterm
Pawan Kumar
  • 114
  • 9
0
votes
1 answer

Julia: Passing Plot optional arguments through outer function

I have a function in Julia that produces a plot using the Plots package plot() command. I'd like to set some optional arguments for the plot by passing arguments into my outer function. For example, I'd like to set title and axis labels without…
pQ12branch
  • 103
  • 3
0
votes
1 answer

How to use a continuous color scale in a thematic map using Julia and Plots.jl

I would like to plot a thematic map (choropleth) using Plots.jl. The DataFrame df I use has 3 columns: geometry, value1 and value2. The column geometry is of element type Polygon (data was read using the Shapefile package). The columns value1 and…
René
  • 4,594
  • 5
  • 23
  • 52
0
votes
1 answer

setting axes limits and animation in plotlyjs.jl Julia

I want to set coordinate axes limits in the plotlyjs.jl. The code is as follows: plot(scattergl(x = MatPointCoords[:,1,40], y = MatPointCoords[:,2,40], mode="markers") ) I cannot find any thing in the julia documentation related to this. Any help…
lokit khemka
  • 349
  • 3
  • 11
0
votes
1 answer

Julia Marker Width or Weight

Julia 1.5 Plots.jl Default backend - I haven't changed the backend so it should be GKS, right? I've got the idea of marker size down, color, and opacity down. I'm trying to change the weight of the individual markers. I'm using the :x symbol. I want…
cardoza2
  • 165
  • 8
0
votes
1 answer

Multiple axes in Julia Plots (GR backend)

How do I plot a set of curves with Julia (1.4.1) and Plots in a Jupyter notebook, some of them using the x axis and the left y axis, and some (more than one!) using the x axis and the right y axis? Whatever I try, I always get only one plot (the…
TomR
  • 133
  • 1
  • 14
0
votes
1 answer

Julia Contour Dimension Mismatch

I'm building a least-squares solver for an ellipse and then plotting the ellipse on a graph. When I run this code I get the correct graph with no problems. x = [1.02 0.95 0.87 0.77 0.67 0.56 0.44 0.30 0.16 0.01] y = [0.39 0.32 0.27 0.22 0.18 0.15…
0
votes
1 answer

How to calculate and plot cumulative incidence rate (incidence rate) over a data of 30 years and include baseline occurrence in R

I am struggling with finding the R package and codes to calculate and plot the cumulative incidence rate/IR (with 95% CI) in R. I have two datasets D1 and D2 with eight events each (E1...E8) and five groups (G1...G5) each and; In D1, I want to…
Tabbi
  • 69
  • 1
  • 9
0
votes
1 answer

Is there a reason why plot gives an error in atom but works fine on jupyter-notebook?

I am a new user of Julia. I want to start using Julia in Atom using Juno. Before I did some tutorials using jupyter-notebooks. Now the when I tried to run the code below it returns the following error message. When I run the same code, on the same…
user12158459
0
votes
1 answer

How do I control axis limits in Plots.jl such that axis starts and ends at a tick?

Only using Plots, how do I control axis limits? I want that the axis always starts and ends at a tick, not the default expansion by some small space. I couldn't find anything useful in plotattr(:Series). Code is the standard example: using Plots x…
hooman
  • 35
  • 6
0
votes
1 answer

Using dropdown selection with Plotly Julia

Using Plotly in Julia, I would like to filter the plot data based on the selection event for a dropdown as shown in the example for the similiar case with Plotly in Python that I reproduce here: I went through the PlotlyJS.jl documentation but…
WebDev
  • 1,211
  • 11
  • 17
0
votes
1 answer

Providing markershapes as Int in Julia

In Julia, I can provide a color as an Int. For example, this works: Using Plots() # Using gr backend gr() x = [1,2,3] y = [1,2,3] cols = [1,2,3] scatter(x,y, markercolor = cols, leg = false) If I want to change the shape, I can provide the…
Cliff AB
  • 1,160
  • 8
  • 15
0
votes
1 answer

Using pyplot from Plots.jl. How to make several subplots have only one colobar?

I am using Plots.jl to make several plots in the same figure. When using the pyplot backend, each plot has it's own colorbar, which I don't want as they have the same data. I am trying to replicate the answer from this question, however I don't know…
aramirezreyes
  • 1,345
  • 7
  • 16
1 2 3
13
14