Hello, I am trying to plot an edgevworth box in sage. To do so, I need to plot contours of two different functions; one of them with the usual origin and axes, the other turned upside-down - i.e. with origin north- east. To get a feeling of how this works, you can have a look at http://en.wikipedia.org/wiki/Image:Contract-curve-on-edgeworth-box.svg
I can plot contours, but cannot find a way to: 1. set origin north-east 2. plot the second contour on the same plot of the first, but with the different origin. My code so far is: from pylab import * x = var('x') y = var('y') U1 = x^0.4*y^0.6 U2 = x^0.6*y^0.4 a = contour_plot(U1, (0,15), (0,15), fill=False, plot_points=100, contours=(12), cmap='hsv') b = contour_plot(U2, (0,15), (0,15), fill=False, plot_points=100, contours=(12), cmap='hsv') a+b the code produces the superposition fo the two contour plots, but I find no easy way of turning one of them upside-down (i.e. setting its origin north-east). Thanks! --~--~---------~--~----~------------~-------~--~----~ To post to this group, send email to sage-support@googlegroups.com To unsubscribe from this group, send email to [EMAIL PROTECTED] For more options, visit this group at http://groups.google.com/group/sage-support URLs: http://www.sagemath.org -~----------~----~----~----~------~----~------~--~---