Take the 2-minute tour ×
TeX - LaTeX Stack Exchange is a question and answer site for users of TeX, LaTeX, ConTeXt, and related typesetting systems. It's 100% free, no registration required.

In the MWE below,



\addplot [domain=-10:10, samples=101, blue]{(1.5*x)^((x/(1-x)))};
\addplot [domain=-10:10, samples=101, red]{(10*x)^((x/(1-x)))};


I tried to follow the advice from cmhughes

Pgfplots : can't plot some usual mathematical functions

How could I plut the two functions zoomed in the range x \in (0,1)

What is it that is wrong in my example, please? Also can I somehow indicate the minima or something like a dashed line from the x axis to the minimum point of the curve?

share|improve this question

closed as unclear what you're asking by Paul Gessler, Papiro, Svend Tveskæg, Masroor, Guido Jan 7 at 2:06

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

Thanks a lot indeed @Jake. Could you please have a small look at the modified question? –  Abhimanyu Arora Jan 8 '14 at 21:54
Yes @Jake I had got that part, but as you see the scale of y axis is huge. How could I zoom to focus on (0,1) range? –  Abhimanyu Arora Jan 8 '14 at 22:19
Could you please edit the question title to more accurately reflect what you're asking? Also, please ask only one question per post, the question about the minima should go in its own post (please also search this site for answers before asking, there have been similar questions before). –  Jake Jan 9 '14 at 14:03
@Jake: Indeed, I totally agree and did as you suggested. Yes I am trying to find the relevant question...any advice on how to search better and faster will be appreciated. Cheers –  Abhimanyu Arora Jan 9 '14 at 17:15

Browse other questions tagged or ask your own question.