cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
Showing results for 
Search instead for 
Did you mean: 

Community Tip - Did you get an answer that solved your problem? Please mark it as an Accepted Solution so others with the same problem can find the answer easily. X

Drawing a vertical line in plot

YA_10963798
14-Alexandrite

Drawing a vertical line in plot

Hi there, 

I need to draw vertical lines along the alignment ( the red lines along the black line) a line each 50 m 

YA_10963798_1-1730625008114.png

How to draw it through this drawing

YA_10963798_2-1730625123609.png

Thanks in advance 

33 REPLIES 33
YA_10963798
14-Alexandrite
(To:StuartBruff)

Ok got it , 

is it because of this function I can't change the lines in the plot... We draw them each 200 m previously... Now I need to draw them in specific points .. given that the line length is 7000 m

YA_10963798_1-1730984481156.png

I tried to change the function  to accept the new input( meterage ) but I didn't get what I need ... the error says it should be scalor

YA_10963798_0-1730984463537.png

 

StuartBruff
23-Emerald III
(To:YA_10963798)

Provided you don't mind a lack of numbers and the vertical lines stretching across the full y-range of A, here's one possibility.

 

2024 11 03 A.png2024 11 03 B.png

 

Adjusting the y-range to some fixed proportion and centreing on the line should be straightforward.

 

Alternatively, do you want the metreage markers to be normal to the line?

 

Stuart

 

Hah!  Just seen that Werner's already made similar points.

 

Also, have you upgraded to Mathcad Prime 10 yet?

Werner_E
25-Diamond I
(To:StuartBruff)


Also, have you upgraded to Mathcad Prime 10 yet?


I could open the file with P9, so the answer possibly is 'no, not yet'.

 

@YA_10963798 

Note that in Stuarts function the argument 'intervals' means the length of an interval, the horizontal distance of two vertical lines.

In my function the argument "intvls" means the number of intervals (which better is chosen as an integer) and so intvls+1 vertical lines are drawn.

YA_10963798
14-Alexandrite
(To:StuartBruff)

Hi Stuart, 

I haven't yet ... when I opened prime 10  in my friend's Laptop it shows this error .... This is a premium feature to use upgrade to full license >> so I asked you and Werner in the other post...If this is only because he doesn't have license...otherwise it will work? nothing to do with the prime version. 

Werner says it is because the license>> so , I'm planning to do it today  

 

YA_10963798_1-1730637840438.png

for this question>>do you want the metreage markers to be normal to the line?

No, all I need is to show that there is a line drawn each 50 m along the alignment >> it should look like my drawing here :

YA_10963798_2-1730638132274.png

 

 

Announcements

Top Tags