# plot a function in the positive semi axes

Good morning, I would like to plot the following function: x=60-(1/6)*y. This function I'd like to be presented only in the positive side of both axes. How can I achive this? Is there a package or any order on how can I have any function plotted? I have tried many things seen both in this site and in others but I haven't succeded yet in making a good looking figure. Thanks in advance

-
What things have you tried? PGFPlots? If so, could you show your code and explain why you're not happy with the result? –  Jake Feb 6 '13 at 10:01
–  Claudio Fiandrino Feb 6 '13 at 10:16
Sorry my function was: y=60-(1/6)*x and the code i've tried was: \documentclass[12pt,a4paper]{article} \begin{document} \usepackage{tikz} \usepackage{color} \begin{tikzpicture}[xscale=14, yscale=4] \draw[thick, <->](0,0.8)--(0,0)--(0.5,0); \draw[blue, domain=0:.5] plot (\x, {60-\x/6}); \end{tikzpicture} –  giannis Feb 6 '13 at 19:30
\end{document} forgot it –  giannis Feb 6 '13 at 19:31

As stated in the comments before, you can use the great package pgfplots for this.

\documentclass{minimal}
\usepackage{pgfplots}
\begin{document}
\begin{tikzpicture}
\begin{axis}[xmin=0,xmax=360,ymin=0]