Message Boards Message Boards

Customizing phase portraits of differential equations?

Posted 2 years ago

I am interested on the phase portrait of linear and nonlinear differential equations using Mathematica. In particular, I want to plot the phase portrait of the following differential equations:

$\displaystyle\frac{dx_{1}}{dt}=-3x_{1}+2x_{2} $,

$\displaystyle\frac{dx_{2}}{dt}=x_{2} $.

I have been able to construct the phase portrait of these equations using the Streamplot command, that is to say,

curve = StreamPlot[{(-3*x_{1}) + (2*x_{2}), -x_{2}}, {x_{1}, -0.3, 0.3}, {x_{2}, -0.3,  0.3}]

However, it looks like this command does not allow me to format the output figures. Attached below, you may find a notebook with my doubts.Based on the above:

  1. How may I especificy the axis label? In particular, I want to format the phase portrait using the following

    AxesLabel -> (Style[#, Black, 20, Bold] & /@ {"\!\(\*SubscriptBox[\(x\), \(1\)]\)",  "\!\(\*SubscriptBox[\(x\), \(2\)]\)"}), TicksStyle -> Directive[Bold, Black]
    
  2. Are there other ways to construct the phase portrait using Mathematica?

Thanks in advance

Use FrameLabel instead.

POSTED BY: Gianluca Gorni
Reply to this discussion
Community posts can be styled and formatted using the Markdown syntax.
Reply Preview
Attachments
Remove
or Discard

Group Abstract Group Abstract