nmacsai

265 Reputation

9 Badges

4 years, 125 days

MaplePrimes Activity


These are questions asked by nmacsai

Does Maple 2025 have a dark theme or GUI color customization?

How to I generate and or export a plot without a white border or equivalently , just  the information inside the axes?

See example. Note that when I insert the content below, it fails to accurately copy the information( blue background). If you look at the attached maple file, it should be very clear what I'm after.

kill_plot_border_on_plot_generation_or_export.mw

restart

NULL

How do I make and export a plot without the white border or background? I want my export to only contain information inside the blue region.
 

plot(x^2, x = 0 .. 3, background = "Blue", axes = none)

plot(x^2, x = 0 .. 3, background = "Blue", axes = none)

 

 

When looking at the exported image you see that there is a white border around the blue region.

NULL

NULL

NULL

Download kill_plot_border_on_plot_generation_or_export.mw

Can I define the creation and annihilation operator commutation relations with an explicit momentum dependence?

The goal is to implement an expression of a discrete scalar plane-wave solution to the Klein-Gordon equation that makes use of the creation and annihilation operators in the Physics package.

We don't bother solving the Klein-Gordon equation explicitly. Instead, we just take a solution from literature. This approach is sufficient to show the difficulty in defining the the creation and annihilation operators in this way.

how_to_define_creation_and_annihilation_operators_with_a_momentum_dependence.mw

restart

Setup

   

NULL``

Goal

   

NULL``

Define Creation and Annihilation Operators for Quantum Field phi

   

NULL

Static Textbook Solution

   

NULL

Commutator Definition Attempt 1 FAIL

   

NULL``

Commutator Definition Attempt 2 FAIL

   

NULL``

Commutator Definition Attempt 3 FAIL

   

NULLNULL

Commutator Definition Attempt 4 FAIL

   

NULL``

Commutator Definition Attempt 5 FAIL

   

So, is defining the creation and annihilation operators with a momentum dependence even possible, using the physics MAPLE package?

Download how_to_define_creation_and_annihilation_operators_with_a_momentum_dependence.mw

How do I generate a plot within a plot as shown in my example below? The fundemental issue is plot structures like Histogram() etc are not images and so combining them in the way I imagine is non-trivial. I couldn't find a standard way to do this in the help section.

Plot_within_a_plot.mw

restart

NULL``

with(plots)

NULL

Consider the two plots p1 and p2.

NULL

p1 := plot(sin(x), size = [300, 300])

 

p2 := plot(sin(x), view = [0 .. Pi, .5 .. 1], size = [300, 300], axes = boxed)

 

NULL

How do I generate a plot within a plot as shown below, if I calculated the plots ahead of time? Is there a standard way to do this?

NULL

NULL

NULL

Download Plot_within_a_plot.mw

I am trying to animate images generated in a do loop using display and insequence. I get an output but there is no flipping of the image even while I see the frames count flip through the frames. What am I doing wrong? See attached code. Thanks!

Why_cant_I_animate_still_images_like_this.mw

1 2 3 4 5 6 7 Page 2 of 8