Group Abstract Group Abstract

Message Boards Message Boards

0
|
3.1K Views
|
2 Replies
|
0 Total Likes
View groups...
Share
Share this post:

How can I show the x and y values of two points on the same Bode plot?

Posted 3 years ago
Attachment

Attachments:
2 Replies
Posted 3 years ago

Hi Koushik,

Use Epilog rather than GridLines.

P1 = BodePlot[TF1,
  PlotLayout -> "Magnitude",
  PlotStyle -> Directive[Green, Thick],
  Mesh -> {{{-3}}, {{16659.759374487337}}},
  MeshStyle -> PointSize[Large]]

P2 = BodePlot[TF2,
  PlotLayout -> "Magnitude",
  PlotStyle -> Directive[Orange, Thick],
  Mesh -> {{{-3}}, {{5377.124388436974}}},
  MeshStyle -> PointSize[Large]]

epilog1 = {Green, Dashed, 
   InfiniteLine[{{Log10@16659.759374487337`, -25}, {Log10@16659.759374487337`, 0}}]};

epilog2 = {Red, Dashed, 
  InfiniteLine[{{Log10@5377.124388436974, -25}, {Log10@5377.124388436974, 0}}]}

Show[P1, P2, Epilog -> {epilog1, epilog2}]

enter image description here

I don't understand the second part of your question. If you want to add additional horizontal or vertical lines or points, add them to the Epilog.

POSTED BY: Rohit Namjoshi

Dear Rohit, Thank you so much. I really appreciate your kind help. Regards, Koushik

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