ਤਸਵੀਰ:Gradient Visual.svg

ਪੰਨਾ ਸਮੱਗਰੀ ਹੋਰ ਭਾਸ਼ਾਵਾਂ ਵਿੱਚ ਸਮਰਥਿਤ ਨਹੀਂ ਹੈ।
ਵਿਕੀਪੀਡੀਆ, ਇੱਕ ਅਜ਼ਾਦ ਗਿਆਨਕੋਸ਼ ਤੋਂ

ਅਸਲ ਫ਼ਾਈਲ(SVG ਫ਼ਾਈਲ, ਆਮ ਤੌਰ ’ਤੇ 720 × 540 ਪਿਕਸਲ, ਫ਼ਾਈਲ ਦਾ ਅਕਾਰ: 197 KB)

ਇਹ ਫ਼ਾਈਲ Wikimedia Commons ਦੀ ਹੈ ਅਤੇ ਹੋਰ ਪਰਿਯੋਜਨਾਵਾਂ ਵਿੱਚ ਵੀ ਵਰਤੀ ਜਾ ਸਕਦੀ ਹੈ । ਇਸ ਫ਼ਾਈਲ ਦੇ ਵੇਰਵਾ ਸਫ਼ੇ ਵਿੱਚ ਮੌਜੂਦ ਵੇਰਵਾ ਹੇਠ ਦਿਸ ਰਿਹਾ ਹੈ।

ਸਾਰ

 
The SVG code is valid.
 
This plot was created with Matplotlib.
ਵੇਰਵਾ
English: Recreate the PNG image Gradient99.png (see below) in SVG.
ਮਿਤੀ
ਸਰੋਤ ਆਪਣਾ ਕੰਮ
ਲਿਖਾਰੀ IkamusumeFan
Other versions
Source code
InfoField

Python code

"""Generate the graph of the function $f(x,y) = -(\cos^2x + \cos^2y)^2$."""

import numpy as np
from pylab import *
from mpl_toolkits.mplot3d import Axes3D
from matplotlib.patches import FancyArrowPatch
from mpl_toolkits.mplot3d import proj3d

# Thanks to CT Zhu. See the link as follows
# http://stackoverflow.com/questions/22867620/putting-arrowheads-on-vectors-in-matplotlibs-3d-plot
class Arrow3D(FancyArrowPatch):
    def __init__(self, xs, ys, zs, *args, **kwargs):
        FancyArrowPatch.__init__(self, (0,0), (0,0), *args, **kwargs)
        self._verts3d = xs, ys, zs

    def draw(self, renderer):
        xs3d, ys3d, zs3d = self._verts3d
        xs, ys, zs = proj3d.proj_transform(xs3d, ys3d, zs3d, renderer.M)
        self.set_positions((xs[0],ys[0]),(xs[1],ys[1]))
        FancyArrowPatch.draw(self, renderer)

# draw the frames
ax = Axes3D(figure(), azim = -135, elev = 45)
X = arange(-pi/2, pi/2, pi/100)	# set ranges
Y = arange(-pi/2, pi/2, pi/100)
X, Y = meshgrid(X, Y)
Z = -(cos(X)**2+cos(Y)**2)**2	# give the function
ax.plot_wireframe(X, Y, Z, rstride = 10, cstride = 10)
ax.set_xlabel("x")
ax.set_ylabel("y")
ax.set_zlabel('f(x,y)')
ax.set_xlim([-pi/2,pi/2])
ax.set_ylim([-pi/2,pi/2])
ax.set_zlim([-4,0])

# draw the contoured quiver
X1 = arange(-pi/2, pi/2, pi/20)	# start of the arrows
Y1 = arange(-pi/2, pi/2, pi/20)
for x in X1:
	for y in Y1:
		ax.add_artist(Arrow3D([x,x+4*sin(x)*cos(x)*(cos(x)**2+cos(y)**2)*0.06],\
		[y,y+4*sin(y)*cos(y)*(cos(x)**2+cos(y)**2)*0.06],\
		[-3.9999,-4.0000],lw=1, mutation_scale=5,arrowstyle="->", color="r"))

plt.savefig("gradient_vis.svg")

ਲਸੰਸ

I, the copyright holder of this work, hereby publish it under the following license:
w:en:Creative Commons
ਗੁਣਾਂ ਦੀ ਦੱਸ ਸ਼ੇਅਰ ਅਲਾਈਕ
This file is licensed under the Creative Commons Attribution-Share Alike 4.0 International license.
ਤੁਹਾਨੂੰ ਖੁੱਲ੍ਹ ਹੈ:
  • ਸਾਂਝਾ ਕਰਨ ਦੀ – ਰਚਨਾ ਨੂੰ ਕਾਪੀ, ਵੰਡਣਾ ਅਤੇ ਭੇਜਣਾ
  • ਮੁੜ-ਰਲ਼ਾਉਣ ਦੀ – ਰਚਨਾ ਨੂੰ ਢਾਲਣਾ
ਥੱਲੇ ਲਿਖੀਆਂ ਸ਼ਰਤਾਂ ਹੇਠ:
  • ਗੁਣਾਂ ਦੀ ਦੱਸ – ਉਚਿਤ ਕ੍ਰੈਡਿਟ ਦੇਵੋ, ਲਾਇਸੰਸ ਦਾ ਇੱਕ ਲਿੰਕ ਪ੍ਰਦਾਨ ਕਰੋ ਅਤੇ ਇਹ ਦਰਸਾਓ ਕਿ ਕੀ ਤਬਦੀਲੀਆਂ ਕੀਤੀਆਂ ਗਈਆਂ ਸਨ। ਤੁਸੀਂ ਇਹ ਕਿਸੇ ਵੀ ਵਾਜਬ ਤਰੀਕੇ ਨਾਲ ਕਰ ਸਕਦੇ ਹੋ, ਪਰ ਇਹ ਤਰੀਕਾ ਅਜਿਹਾ ਨਹੀਂ ਹੋਣਾ ਚਾਹੀਦਾ ਜੋ ਇਹ ਦਰਸਾਵੇ ਕਿ ਲਾਇਸੰਸਕਰਤਾ ਤੁਹਾਨੂੰ ਜਾਂ ਤੁਹਾਡੀ ਵਰਤੋਂ ਦਾ ਸਮਰਥਨ ਕਰਦਾ ਹੈ।
  • ਸ਼ੇਅਰ ਅਲਾਈਕ – ਜੇਕਰ ਤੁਸੀਂ ਸਮੱਗਰੀ ਨੂੰ ਰੀਮਿਕਸ ਕਰਦੇ ਹੋ, ਬਦਲਦੇ ਹੋ ਜਾਂ ਬਣਾਉਂਦੇ ਹੋ, ਤਾਂ ਆਪਣੇ ਯੋਗਦਾਨ ਇੱਕੋ ਜਿਹੇ ਜਾਂ ਅਨੁਕੂਲ ਲਾਇਸੰਸ ਦੇ ਅਧੀਨ ਕਰੋ।

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

ਚਿਤਰਨ

creator ਅੰਗਰੇਜ਼ੀ

copyright status ਅੰਗਰੇਜ਼ੀ

copyrighted ਅੰਗਰੇਜ਼ੀ

26 ਅਕਤੂਬਰ 2014

source of file ਅੰਗਰੇਜ਼ੀ

original creation by uploader ਅੰਗਰੇਜ਼ੀ

ਫ਼ਾਈਲ ਦਾ ਅਤੀਤ

ਤਾਰੀਖ/ਸਮੇਂ ’ਤੇ ਕਲਿੱਕ ਕਰੋ ਤਾਂ ਉਸ ਸਮੇਂ ਦੀ ਫਾਈਲ ਪੇਸ਼ ਹੋ ਜਾਵੇਗੀ।

ਮਿਤੀ/ਸਮਾਂਨਮੂਨਾਨਾਪਵਰਤੋਂਕਾਰਟਿੱਪਣੀ
ਮੌਜੂਦਾ09:24, 26 ਅਕਤੂਬਰ 201409:24, 26 ਅਕਤੂਬਰ 2014 ਵੇਲੇ ਦੇ ਵਰਜਨ ਦਾ ਅੰਗੂਠਾਕਾਰ ਰੂਪ720 × 540 (197 KB)IkamusumeFanUser created page with UploadWizard

ਇਹ ਫਾਈਲ ਹੇਠਾਂ ਦਿੱਤਾ ਸਫ਼ਾ ਵਰਤਦਾ ਹੈ:

ਫ਼ਾਈਲ ਦੀ ਵਿਆਪਕ ਵਰਤੋਂ

ਇਸ ਫ਼ਾਈਲ ਨੂੰ ਹੋਰ ਹੇਠ ਲਿਖੇ ਵਿਕੀ ਵਰਤਦੇ ਹਨ:

ਮੈਟਾਡੈਟਾ