Discussion Closed This discussion was created more than 6 months ago and has been closed. To start a new discussion with a link back to this one, click here.

Drawing vertical line in 1D plot

Please login with a confirmed email address before reporting spam

I have a 1D plot in COMSOL 5.4, and I want to draw a vertical line at a certain value of x on top of a pre-existing plot. It seems like it should be fairly simple, but I haven't been able to find any way of doing this. Does anyone have any suggestions?


2 Replies Last Post 11 apr 2019, 02:39 GMT-4
Gunnar Andersson COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 11 apr 2019, 02:13 GMT-4

You can do this using a Table Graph plot.

You can do this using a Table Graph plot.

Henrik Sönnerlind COMSOL Employee

Please login with a confirmed email address before reporting spam

Posted: 6 years ago 11 apr 2019, 02:39 GMT-4
Updated: 6 years ago 11 apr 2019, 02:39 GMT-4

Here is an example where two extra Point Graph nodes are used for drawing the vertical lines:

https://www.comsol.com/model/wave-propagation-in-rock-under-blast-loads-12811

Regards,
Henrik

-------------------
Henrik Sönnerlind
COMSOL
Here is an example where two extra Point Graph nodes are used for drawing the vertical lines: Regards, Henrik

Note that while COMSOL employees may participate in the discussion forum, COMSOL® software users who are on-subscription should submit their questions via the Support Center for a more comprehensive response from the Technical Support team.