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

Community Tip - You can Bookmark boards, posts or articles that you'd like to access again easily! X

Problems with plotting graphic

ptc-4431177
1-Visitor

Problems with plotting graphic

Hello, dear all.

I've faced some problems with plotting data graphic.

I plotted data (descreat value) and a function (I want a continuous function),but mathcad plots descreat function.

Is there any way to solve this problem?

Kiselev Andrey

ACCEPTED SOLUTION

Accepted Solutions
RichardJ
19-Tanzanite
(To:ptc-4431177)

Create another X vector, over the same range but with more points.

View solution in original post

9 REPLIES 9
RichardJ
19-Tanzanite
(To:ptc-4431177)

Create another X vector, over the same range but with more points.

Thank you Mr. Jackson.

And could you explain me for what we are making vectorized function?

Best reguards, Andrey Kiselev

RichardJ
19-Tanzanite
(To:ptc-4431177)

Sorry, I don't understand what you are asking for. Could you rephrase your question.

See the attached worksheet. I marked my question with red.

Werner_E
25-Diamond I
(To:ptc-4431177)

And could you explain me for what we are making vectorized function?

To be on the safe side, I guess. Vectorization would not be necessary in case of your function (x^2). But if you change it for x*x you will see why vectorization is mandatory. As you put a vector (X2) at the abscissa, you will have to put a vector at the ordinat, too. X2^2 is a vector again, but X2*X2 is evaluated as scalar product and results in a single value.

If you don't like the vectorization you have (at least) two options. Resort to a quickplot (by simply not defining X2 at all) and set the x-limits yourself in the graph or define X2 as a range variable.

See attached

Dear Mr. Exinger I understand your idea.

But unfortunary I dont undertstand how you made a continuous function in a quickplot

See attached

Werner_E
25-Diamond I
(To:ptc-4431177)

See the attached sheet for some elaborate (not to say long winded 🙂 explanations concerning range variables (which you should not confuse and mix up with vectors) and quickplot.

Thank you very mauch, Mr Exinger!!!

Now it's clear to me.

You spend your time for me and was very helpful.

Werner_E
25-Diamond I
(To:ptc-4431177)

Andrey Kiselev schrieb:

Thank you very mauch, Mr Exinger!!!

Now it's clear to me.

Glad to hear you're up and running again.

You spend your time for me and was very helpful.

You're welcome!

Announcements

Top Tags