Group Abstract Group Abstract

Message Boards Message Boards

0
|
1.3K Views
|
9 Replies
|
4 Total Likes
View groups...
Share
Share this post:

How do I plot complex parameters with one real variable?

Posted 8 months ago

I have the following values of the variable V: 20930.4 - 49414.8i, 126492. + 43093.7i are complex values. And there is a sigma value: 2*10^4. How do I plot the Re and Im parts of V against sigma from them in wolfram mathematica? Also I need to do the same thing for kappa, chi.

POSTED BY: Nikita Averin
9 Replies
Posted 8 months ago

Maybe you are looking for something like this below?

POSTED BY: Hans Milton
Posted 8 months ago

Thank you, I already done this ReImPlot[{V0,V1},{[Sigma],210^2,210^4}], but it seems that ReImPlot can't see that there is a dependency between V and sigma in my program, so this function plot horizontal constant lines, but when I've inserted whole equation in ReImPlot, like the values for theta, Y, I've managed to get plot like yours. How did you do that without inserting whole equations? My guess is that it got something to do with the first line in your code: <a href="mailto:Remove@Evaluate[Context[]">Remove@Evaluate[Context[]<>"*"], am I right?

POSTED BY: Nikita Averin
Posted 8 months ago

No, that is not the case. The Remove@Evaluate[ ... line just comes from my personal typing habits. I have since edited it to be the more common Clear["`*"].

More to the point is that I commented out the line in your code where sigma is assigned a value. Which made it act as a constant:

enter image description here

POSTED BY: Hans Milton
Posted 8 months ago

OK, otherwise, thank you!

POSTED BY: Nikita Averin

You have two complex numbers and a real number. What kind of plot have you in mind?

POSTED BY: Gianluca Gorni
Posted 8 months ago

Plot of Re(V) dependence on sigma, Im(V) on sigma and so on. I don't know how this plot supposed to look like exactly

POSTED BY: Nikita Averin

Then write a formula for V as a function of sigma.

POSTED BY: Gianluca Gorni

Have you tried ReImPlot?

POSTED BY: Gianluca Gorni
Posted 8 months ago

Yes, i tried something like this, but real part of V is constant as sigma, so I got this plot enter image description here

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