# How to plot the following print? [closed]

(Note: I am new to mathematica)

I am using this code

code

APO-48-10

It has prints but i would like to know how i can plot this? I know there is a plot function inside the code but its not yielding a plot when i run it.

I know it can be plotted since the author of the code used this command to plot several graph, with different input values given in "<< APO-48-10.txt;".

## closed as off-topic by m_goldberg, MarcoB, Sascha, corey979, FeyreJan 23 '17 at 9:02

This question appears to be off-topic. The users who voted to close gave this specific reason:

• "This question cannot be answered without additional information. Questions on problems in code must describe the specific problem and include valid code to reproduce it. Any data used for programming examples should be embedded in the question or code to generate the (fake) data must be included." – m_goldberg, Sascha, corey979, Feyre
If this question can be reworded to fit the rules in the help center, please edit the question.

• Do you have the "APO-48-10.txt" file? Without this file it's not possible to plot anything. – Diogo Jan 23 '17 at 1:18
• yes i do have the file – user10699 Jan 23 '17 at 1:19
• Can you share the file? – Diogo Jan 23 '17 at 1:20
• Find yourself a copy of "APO-48-10.txt", Google finds a few copies of that if you enclose that name in double quotes. Put that file in one of the places that Mathematica will look (Or you can prepend a path onto that name and put the file anywhere). Probably edit the contents of the file to adjust the parameters to fit your situation. Evaluate the notebook and then evaluate APOh[,,,] with the appropriate value substituted for ... And you should see your plot – Bill Jan 23 '17 at 1:20
• i have the file – user10699 Jan 23 '17 at 1:28

1. Instead of <<APO-48-10.txt;, use Get["c:\path\to\your\APO-48-10.txt"];
2. Towards the end of the code, you will find Plot[{Bp, B[n], Bpade[n]}, ...];. The output of this plot, however, is suppressed by ; at the end of the line. A quick-and-dirty fix to see the plot can be had by adding a Print statement: Print@Plot[{Bp, B[n], Bpade[n]}, ...];.
• @user10699 "c:\path..." is only a placeholder. You need to insert the path to your own APO-48-10.txt file is located. Did you do that? You can use the menu Insert -> File path to insert a correctly escaped file path on your system. – MarcoB Jan 23 '17 at 15:22