I just downloaded scilab because Wolfram Alpha wouldn't want to plot the function I'd like.(adsbygoogle = window.adsbygoogle || []).push({});

In a physics problem I've found the temperature distribution of a 2 dimensional system. I'd like to visualize this function in 3d.

The function I want to plot is [itex]u(x,y)=\frac{1}{\pi} \arctan \left ( \frac{y+a}{x} \right )+\frac{1}{\pi} \arctan \left ( \frac{a-y}{x} \right )[/itex]. I've read the help file of scilab of how to plot but I'm getting lost very quickly. Any help is appreciated!

Edit: so far I have. I don't know how to pass a line (enter just evaluates the command I wrote). I get the message "Inconsistent addition."Code (Text):x=[0:0.1:12]'; y=[0:0.1:12]'; z=atan((y-2)/x)+atan((2-y)/2); plot3d(x,y,z)

**Physics Forums | Science Articles, Homework Help, Discussion**

Dismiss Notice

Join Physics Forums Today!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

The friendliest, high quality science and math community on the planet! Everyone who loves science is here!

# 3d plot in scilab

Loading...

Similar Threads for plot scilab |
---|

Plot a stereographic hypercube in a Mac's Grapher.app? |

Mathematica Errors when plotting but not when evaluating |

Mathematica Color Contour Plots |

Mathematica Taking forever to plot |

Mathematica Cannot Plot This Function in Mathematica |

**Physics Forums | Science Articles, Homework Help, Discussion**