Community Tip - Did you get called away in the middle of writing a post? Don't worry you can find your unfinished post later in the Drafts section of your profile page. X
Hello,
Default plot of the line passing through the point (1,1) in Mathcad Prime:
My desire:
Having a point, for example: (x, F(x)) = (1,1), I would like to be able to adjust the LENGTH of the line passing through that point (1,1), in order the length of the line to be smaller or larger as shown below. How could I do this?
Solved! Go to Solution.
@Cornel wrote:
My desire:
Having a point, for example: (x, F(x)) = (1,1), I would like to be able to adjust the LENGTH of the line passing through that point (1,1), in order the length of the line to be smaller or larger as shown below. How could I do this?
Simply plot the line segment by providing the coordinates of the two end points:
Of course you also could provide a range for the abscissa values to limit the line
Or more elaborate
But of course there are so many different ways to achieve the same effect. If you prefer you may also use complex numbers
What does "both" parameter?
The parameter both, if set to non-zero, makes the line go to both sides of the point P.
Success!
Luc
@LucMeekes wrote:
The parameter both, if set to non-zero, makes the line go to both sides of the point P.
Success!
Luc
Of course correct. And this also means that the total length of the line segment is twice the length provided by the "dist" argument in that case. If thats not desired the function must be slightly modified.