First time here? Check out the FAQ!

Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I founded answer for my question! It can be founded here. More results can be founded here. There is one graph as example below. image description

Thanks to anyone!

click to hide/show revision 2
No.2 Revision

I founded answer for my question! It can be founded here. More results can be founded here. There is one graph as example below. image description

Thanks to anyone!

click to hide/show revision 3
No.3 Revision

I founded answer for my question! It can be founded here. More results can be founded here. Thanks to anyone!

click to hide/show revision 4
No.4 Revision

I founded answer for my question! It can be founded hereat http://commons.wikimedia.org/wiki/File:Conic_x%5E2%2B2xy%2By%5E2?8x%3D0.svg . More results can be founded hereat http://commons.wikimedia.org/wiki/Category:Made_with_Matplotlib . Thanks to anyone!

click to hide/show revision 5
No.5 Revision

I founded answer for my question! It can be founded at http://commons.wikimedia.org/wiki/File:Conic_x%5E2%2B2xy%2By%5E2?8x%3D0.svg . More results can be founded at http://commons.wikimedia.org/wiki/Category:Made_with_Matplotlib . The code is below:

import matplotlib.pyplot as plt
plt.clf()
fig=figure(figsize=(5,3))
ax = fig.add_subplot(111)
for direction in ["left","bottom"]:
    ax.spines[direction].set_position('zero')
    ax.spines[direction].set_smart_bounds(True)
for direction in ["right","top"]:
    ax.spines[direction].set_color('none')
ax.xaxis.set_ticks_position('bottom')
ax.yaxis.set_ticks_position('left')
ax.grid(True)
plt.plot([0, 5, 10, 15,20,25], [0, 5, 0, -5, 0, 5], linewidth=2, color='blue')
plt.savefig('1.png')

Thanks to anyone!