# Plotting the graph of a integral function [duplicate]

This question already has an answer here:

I would like to know how I can plot the graph of the following function in Latex or Tikz.

$f(t)=\frac{\int_{-\infty}^{t}\alpha(s)ds}{\int_{-2}^{-1}\alpha(s)ds}$,


where

$\alpha: \mathbb{R} \rightarrow \mathbb{R}$


is defined by,

 e^{\frac{1}{(s+1)(s+2)}} in [-2,-1]


and zero outside of this interval.

## marked as duplicate by Henri Menke, Mensch, cfr tikz-pgf StackExchange.ready(function() { if (StackExchange.options.isMobile) return; $('.dupe-hammer-message-hover:not(.hover-bound)').each(function() { var$hover = $(this).addClass('hover-bound'),$msg = $hover.siblings('.dupe-hammer-message');$hover.hover( function() { $hover.showInfoMessage('', { messageElement:$msg.clone().show(), transient: false, position: { my: 'bottom left', at: 'top center', offsetTop: -7 }, dismissable: false, relativeToBody: true }); }, function() { StackExchange.helpers.removeMessages(); } ); }); }); Sep 10 '17 at 1:25

This question has been asked before and already has an answer. If those answers do not fully address your question, please ask a new question.

• This is a integral function, I guess that there exist a diference to plot graph of this functions. – Victor Hugo Sep 9 '17 at 23:57
• What have you tried? No doubt there are some differences, but why can't you adapt the example linked, consulting the documentation to figure out the adjustments you need? Right now, this is just a do-it-for-me and reads like a do-my-homework-for-me, too. – cfr Sep 10 '17 at 1:23
• Then here are your alternative duplicates: tex.stackexchange.com/questions/103569/… tex.stackexchange.com/questions/129741/… – Henri Menke Sep 10 '17 at 1:26
• If you have a specific problem when you come to plot this particular function, please ask a question explaining the particular issue and including the code you've got. – cfr Sep 10 '17 at 1:26