After using "margins" command, I use "marginsplot" command to graph the margins plots. I get straight line while I find in some other papers, they present curve. How can I get curves other than straight lines?

The graph I get like this:

Array


The graph in other papers like this:


Thanks.