summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--notes.bib8
-rw-r--r--plot.py14
2 files changed, 13 insertions, 9 deletions
diff --git a/notes.bib b/notes.bib
index db41d54..cca1ee7 100644
--- a/notes.bib
+++ b/notes.bib
@@ -79,16 +79,16 @@
@article {shapleyor,
author = {Moulin, Hervé and Shenker, Scott},
affiliation = {Department of Economics, MS 22, Rice University, 6100 Main Street, Houston, TX 77005, USA (e-mail: moulin@rice.edu) US},
- title = {Strategyproof sharing of submodular costs:budget balance versus efficiency},
+ title = {Strategyproof sharing of submodular costs: budget balance versus efficiency},
journal = {Economic Theory},
publisher = {Springer Berlin / Heidelberg},
issn = {0938-2259},
keyword = {Business and Economics},
pages = {511-533},
- volume = {18},
- issue = {3},
+ volume = 18,
+ issue = 3,
url = {http://dx.doi.org/10.1007/PL00004200},
- year = {2001}
+ year = 2001
}
@inproceedings{subsetselection11,
diff --git a/plot.py b/plot.py
index ae3f6fb..611583c 100644
--- a/plot.py
+++ b/plot.py
@@ -18,11 +18,15 @@ fig = plt.figure()
# surf = ax.plot_surface(X, Y, Z, rstride=1, cstride=1,
# linewidth=0, antialiased=True)
-ax = fig.add_subplot(1,1,1)
-x = np.arange(-1,5,0.1)
-y = (((4*x -24)*x +36)*x-16)*x
-z = 0*x
-ax.plot(x,y,x,z,antialiased=True)
+#ax = fig.add_subplot(1,1,1)
+#x = np.arange(-1,5,0.1)
+#y = (((4*x -24)*x +36)*x-16)*x
+#z = 0*x
+#ax.plot(x,y,x,z,antialiased=True)
+ax = fig.add_subplot(1,1,1)
+x = np.arange(0,1,0.01)
+y = np.sqrt((x-1)*(x+2)/((x+1)*(x-2)))
+ax.plot(x,y)
plt.show()