Community Tip - Need to share some code when posting a question or reply? Make sure to use the "Insert code sample" menu option. Learn more! X
Hi there,
I need to draw vertical lines along the alignment ( the red lines along the black line) a line each 50 m
How to draw it through this drawing
Thanks in advance
Solved! Go to Solution.
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
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
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.
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?
Also, have you upgraded to Mathcad Prime 10 yet?
I could open the file with P9, so the answer possibly is 'no, not yet'.
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.
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
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 :