# Make a contour plot for a normalized concentration field?

Posted 5 months ago
525 Views
|
4 Replies
|
0 Total Likes
|
 I'm trying to plot a normalized concentration field as a two dimensional contour for a given diffusion time of 1 second. Instead of getting a meaningful plot my output is a blue square.!Any help would be greatly appreciated.
4 Replies
Sort By:
Posted 5 months ago
 What do you mean by "normalized"Your factor is In[76]:= nn = 1/(12. 3.14 10^-8) Out[76]= 2.65393*10^6 with this I get In[80]:= Exp[-(((x - 5)^2 - 1)/nn)] /. x -> 0 Exp[-(((x - 5)^2 - 1)/nn)] /. x -> 25 Out[80]= 0.999991 Out[81]= 0.99985 Seems your expression is virtually constant, so, no contours
Posted 5 months ago
 Hello, I rewrote my equation using different Mathematica syntax (Exp[] instead of using E^2) and was able to get contour lines. However, I anticipated a significantly different pattern. By normalized I was just referring to the diffusion in my system as steady state. you can see my Mathematica input/output as well as the contour plot I should have created below.
 Welcome to Wolfram Community! Please make sure you know the rules: https://wolfr.am/READ-1STThe rules explain how to format your code properly. If you do not format code, it may become corrupted and useless to other members. Please EDIT your post and make sure code blocks start on a new paragraph and look framed and colored like this. int = Integrate[1/(x^3 - 1), x]; Map[Framed, int, Infinity]