PC Review


Reply
Thread Tools Rate Thread

How to chart a formula

 
 
=?Utf-8?B?QWxpIEJhYmE=?=
Guest
Posts: n/a
 
      12th Aug 2005
Hello
Is there a way that I can plot two functions into one chart? I mean that I
only need write the first function (eg. Y = 3*x^2) in Cell A1 and the second
function (eg. Y = exp(x) +x) in Cell A2 and get both functions plotted in the
same chart.

I saw PLOT manager which was created by Tushar Mehta but it does not do what
I want.

So if anybody can help me to write a VBA code to do this task I would really
appreciate it

This is an illustration of what I want
http://phpaw.com/myscrpit/milt-up/jp...1123870575.jpg

 
Reply With Quote
 
 
 
 
Andy Pope
Guest
Posts: n/a
 
      12th Aug 2005
Hi,

Maybe Jan Karel Pieterse example will help. Also includes a link to
Stephen Bullens similiar approach.
http://www.jkp-ads.com/Articles/ChartAnEquation00.htm

Cheers
Andy

Ali Baba wrote:
> Hello
> Is there a way that I can plot two functions into one chart? I mean that I
> only need write the first function (eg. Y = 3*x^2) in Cell A1 and the second
> function (eg. Y = exp(x) +x) in Cell A2 and get both functions plotted in the
> same chart.
>
> I saw PLOT manager which was created by Tushar Mehta but it does not do what
> I want.
>
> So if anybody can help me to write a VBA code to do this task I would really
> appreciate it
>
> This is an illustration of what I want
> http://phpaw.com/myscrpit/milt-up/jp...1123870575.jpg
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
=?Utf-8?B?QWxpIEJhYmE=?=
Guest
Posts: n/a
 
      13th Aug 2005
Thanks Andy

I tried using this method several times but I was unsuccessful. So I think
VBA is more suitable to me.

I am doing this as part of my project which I am asked to plot two functions
and then calculate the area under the curves.

If you can help I would be so pleased.

 
Reply With Quote
 
Andy Pope
Guest
Posts: n/a
 
      13th Aug 2005
Hi,

I was able to add another formula to the example workbook and chart it
in the same chart as the existing one. If you email me I will send you
an example.

Cheers
Andy

Ali Baba wrote:
> Thanks Andy
>
> I tried using this method several times but I was unsuccessful. So I think
> VBA is more suitable to me.
>
> I am doing this as part of my project which I am asked to plot two functions
> and then calculate the area under the curves.
>
> If you can help I would be so pleased.
>


--

Andy Pope, Microsoft MVP - Excel
http://www.andypope.info
 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
RE: formula for chart totals =?Utf-8?B?U2hhbmVEZXZlbnNoaXJl?= Microsoft Excel Charting 0 24th Jan 2007 10:43 PM
Using a chart like a formula...? =?Utf-8?B?RGFuaWVsV2FsdGVyczY=?= Microsoft Excel Charting 2 10th Mar 2006 10:06 PM
Is this a chart or a formula or something else? =?Utf-8?B?Q2hyaXM=?= Microsoft Excel Worksheet Functions 1 11th Feb 2005 07:31 PM
Excel chart - result of formula = " " don't want to see in chart kosciosco Microsoft Excel Charting 3 15th Mar 2004 12:14 PM
Formula for using results from one chart to organize data in second chart? ebt Microsoft Excel Worksheet Functions 0 31st Jan 2004 10:36 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:34 PM.