Ask Your Question

Revision history [back]

Why is a png viewer not loading?

Question 54175 is the same issue highlighted previously without solution.

This is so frustrating as it's the first time I'm using Sage and the whole process has been incredibly annoying to set up and I can't even view my plot!

I'm using version 9.6, usign ubuntu on windows.

Here's my code:

sage: vector_field(X,Y)= (0.9X-0.5Y,0.1X+0.8Y)
sage: p=plot_vector_field(vector_field,
....: (X,-2,2), (Y,-2,2),
....: frame=False,
....: color="green",
....: plot_points=10,
....: axes_labels=("$X$","$Y$"))

sage: show(p,aspect_ratio=1,figsize=5)

Launched png viewer for Graphics object consisting of 1 graphics primitive

But no png viewer is loaded!

Why is a png viewer not loading?

Question 54175 is the same issue highlighted previously without solution. solution.

This is so frustrating as it's the first time I'm using Sage Sage and the whole process has been incredibly annoying annoying to set up and I can't even view my plot!

I'm using version SageMath 9.6, usign ubuntu using Ubuntu on windows.Windows.

Here's my code:

sage: vector_field(X,Y)= (0.9X-0.5Y,0.1X+0.8vector_field(X, Y) 
= (0.9*X - 0.5*Y, 0.1*X + 0.8*Y) sage: p=plot_vector_field(vector_field,
....: (X,-2,2), (Y,-2,2),
....: frame=False,
....: color="green",
....: plot_points=10,
....: axes_labels=("$X$","$Y$"))

p = plot_vector_field(vector_field, ....: (X, -2, 2), (Y, -2, 2), ....: frame=False, ....: color="green", ....: plot_points=10, ....: axes_labels=("$X$", "$Y$")) sage: show(p,aspect_ratio=1,figsize=5)

show(p, aspect_ratio=1, figsize=5) Launched png viewer for Graphics object consisting of 1 graphics primitive

primitive

But no png viewer is loaded!launched!

click to hide/show revision 3
retagged

Why is a png viewer not loading?

Question 54175 is the same issue highlighted previously without solution.

This is so frustrating as it's the first time I'm using Sage and the whole process has been incredibly annoying to set up and I can't even view my plot!

I'm using SageMath 9.6, using Ubuntu on Windows.

Here's my code:

sage: vector_field(X, Y) = (0.9*X - 0.5*Y, 0.1*X + 0.8*Y)
sage: p = plot_vector_field(vector_field,
....:                       (X, -2, 2), (Y, -2, 2),
....:                       frame=False,
....:                       color="green",
....:                       plot_points=10,
....:                       axes_labels=("$X$", "$Y$"))
sage: show(p, aspect_ratio=1, figsize=5)
Launched png viewer for Graphics object consisting of 1 graphics primitive

But no png viewer is launched!