Questions tagged [julia-plots]
95 questions
0
votes
0 answers
Julia Graphplot error "MethodError: no method matching get_adjacency_matrix(::SimpleDiGraph{Int64})"
I am using the following code in Julia v1.6 to plot a graph:
graphplot(metanetwork1, method=:chorddiagram, markersize=3, nodeshape=:rect, linecolor=:lightgrey)
where metanetwork1 is a {56, 445} directed simple Int64 graph
I am getting the following…

ssjos
- 1
- 1
0
votes
1 answer
xticks' labels formatting in Julia Plots
Assume my Julia code is
using Plots
t = -π:1e-4:π
y = sin.(t)
plot(t,y,lw=3,legend=false)
plot!(xticks=([-π/2],["(-\\pi)/2"]))
where I want to show the parenthesis in the numerator of xticks' label while keeping its "rational" form, i.e., I don't…

CLAUDE
- 294
- 1
- 2
- 11
0
votes
0 answers
Julia Surface plotting
I was trying to make surface plot using Julia. But i am getting error while running the program
find the attached error
using LinearAlgebra, SparseArrays, Plots, DifferentialEquations
using Surrogates
using Plots
gr()
L=20
N=100
k=50
x=range(0,…

MANISHA N G
- 9
- 1
-1
votes
1 answer
Looking for similar Plotting functionality to matplotlib's figures
In python matplotlib, it is possible to define a figure and its axes in variables; then progressively add different types of plots to that one variable/change that plot's parameters throughout the code by refering to those variables.
Is there…

Mstislav Keldysh
- 37
- 4
-1
votes
1 answer
Offline installation of a package (PyPlot) in JULIA
In Julia, A package can be installed through using Pkg; Pkg.add("PyPlot") directly.
But how can the same package be installed offline?
Thanks.

Quanta
- 139
- 5