# Plot command help

**URL:** <https://community.wolfram.com/t/plot-command-help/4978>\
**Category:** Questions\
**Tags:** computer-science, data-science, education, engineering, image-processing, operations-research, signal-processing, social-sciences, software-development\
**Created:** [February 27, 2015, 1:44pm UTC](https://community.wolfram.com/t/plot-command-help/4978 "2015-02-27T13:44:39Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![bpreeti2002](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bpreeti2002](https://community.wolfram.com/u/bpreeti2002)\
**Post date:** [February 27, 2015, 1:44pm UTC](https://community.wolfram.com/t/plot-command-help/4978/1 "2015-02-27T13:44:39Z")

</div>

Hej,

I am stuck here for a while.. I am wondering how to use plot command for the values generated from a table.

I will explain the table command to understand what i did. I numerically solved dNpdt and then used it to generate values for Cp..

Now i need to make a plot for Cp in Y axis and Delta in X axis..but the command i used below doesnt work really well

Table[  
solNp2 = NSolve[(dNpdt /. sol) == 0, Np][[1](https://community.wolfram.com/c/portal/getImageAttachment?filename=10517Untitled.png&userId=404622)];  
Plot[Cp[[Delta]] /. sol /. solNp2, {[Delta], 0, 1}]]

I get an error : Solve was unable to solve the system with inexact coefficients. The   
answer was obtained by solving a corresponding exact system and   
numericizing the result. \>\>

 ![10517Untitled.png](https://global.discourse-cdn.com/wolfram/original/3X/3/5/3583199c2b53e15c943b9b45fbf567a97dfa1549.png)

---

<div class="post-metadata">

**Author:** ![fkampas](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fkampas/32/41217_2.png) [@fkampas](https://community.wolfram.com/u/fkampas)\
**Post date:** [February 27, 2015, 2:49pm UTC](https://community.wolfram.com/t/plot-command-help/4978/2 "2015-02-27T14:49:25Z")

</div>

The message you got from NSolve is really more of a warning than an error. The results should be good.

---

<div class="post-metadata">

**Author:** ![bpreeti2002](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bpreeti2002](https://community.wolfram.com/u/bpreeti2002)\
**Post date:** [February 27, 2015, 3:32pm UTC](https://community.wolfram.com/t/plot-command-help/4978/3 "2015-02-27T15:32:11Z")

</div>

No,  
I don’t think I am doing it right, I am not getting any plots for it. I dont know how to explain my porblem. may be this is not the right way , but I have attached an example file of what i am doing but a smaller version of it. please ignore the parameters and equations.

It is in the Table section is where i want help,  
I need to plot Cp against delta against and for different Np conditions such as Np = 1,2,3 ,4,5.

what i am doing now is really taking all my time. i am manually entering these values in excel and plotiing them. it really really takes a lot of time..

So any help will be a big favor!

thanks in advance

---

<div class="post-metadata">

**Author:** ![bpreeti2002](https://avatars.discourse-cdn.com/v4/letter/b/5f9b8f/32.png) [@bpreeti2002](https://community.wolfram.com/u/bpreeti2002)\
**Post date:** [February 27, 2015, 4:32pm UTC](https://community.wolfram.com/t/plot-command-help/4978/4 "2015-02-27T16:32:47Z")

</div>

No,  
I don’t think I am doing it right, I am not getting any plots for it. I dont know how to explain my porblem. may be this is not the right way , but I have attached an example file of what i am doing but a smaller version of it. please ignore the parameters and equations.

It is in the Table section is where i want help,  
I need to plot Cp against delta against and for different Np conditions such as Np = 1,2,3 ,4,5.

what i am doing now is really taking all my time. i am manually entering these values in excel and plotiing them. it really really takes a lot of time..

So any help will be a big favor!

thanks in advance

---

<div class="post-metadata">

**Author:** ![fkampas](https://yyz1.discourse-cdn.com/wolfram/user_avatar/community.wolfram.com/fkampas/32/41217_2.png) [@fkampas](https://community.wolfram.com/u/fkampas)\
**Post date:** [February 27, 2015, 6:50pm UTC](https://community.wolfram.com/t/plot-command-help/4978/5 "2015-02-27T18:50:34Z")

</div>

I suggest you break you code up into pieces and check each piece separately, rather than trying to debug the whole thing at once.
