चित्र:Parabolic trajectory.svg

testwiki से
नेविगेशन पर जाएँ खोज पर जाएँ
मूल चित्र (SVG फ़ाइल, साधारणतः ५१२ × २१२ पिक्सेल, फ़ाइल का आकार: ८ KB)

यह चित्र विकिमीडिया कॉमन्स से है और दूसरे परियोजनाओं द्वारा भी प्रयोग की जा सकती है। वहाँ पर इसके चित्र विवरण पृष्ठ में मौजूद विवरण नीचे दिखाई गई है।

सारांश

विवरण
English: Illustration of a parabolic trajectory.
दिनांक
स्रोत अपना कार्य
लेखक Oleg Alexandrov
SVG genesis
InfoField
 SVG कोड मान्य है।
 इस वेक्टर चित्र को मैटलैब की मदद से बनाया गया था।
 and with Inkscape.

लाइसेंस

Public domain इस कार्य को इसके लेखक, Oleg Alexandrov द्वारा सार्वजनिक डोमेन में प्रकाशित किया गया है। यह पूरे विश्व में लागू होता है।
कुछ देशों में यह कानूनी तौर पर नहीं हो सकता है; ऐसा हो तो:
Oleg Alexandrov सभी को इस कार्य का इस्तेमाल किसी भी उद्देश्य से, बिना किसी बाधाओं के इन शर्तों के कानून द्वारा अनिवार्य किए तक करने की अनुमति देता/देती हैं।

Source code (MATLAB)

% illustration of a parabolic trajectory

function main()

   L=0.8;
   s=0.1;
   q=-0.4;
   N=100;

   arrow_size = 0.1;
   sharpness = 20;
   arrow_type = 1; 
   arrlen = 0.3; % arrow length
   tiny = 0.01;
   ball_radius = 0.05;
   
   X=linspace(-L, L, N);
   Y =L^2 - X.^2;
   Xl = linspace(-L-s, L+s, N);
   
   
% KSmrq's colors
   red    = [0.867 0.06 0.14];
   blue   = [0, 129, 205]/256;
   green  = [0, 200,  70]/256;
   yellow = [254, 194,   0]/256;
   white = 0.99*[1, 1, 1];
   black = [0, 0, 0];
   gray = 0.5*white;
   lw = 2.3;
   

   figure(1); clf; hold on; axis equal; axis off;
   plot(X, Y, 'linewidth', lw, 'linestyle', '--', 'color', blue);
   arrow([q-tiny, L^2-q^2], [q+arrlen-tiny, L^2-q^2-2*q*arrlen], lw, arrow_size, sharpness, arrow_type, red);
   ball(q, L^2 - q^2, ball_radius, gray)
   plot(Xl, 0*Xl, 'linewidth', 2*lw, 'color', black);

   
  %saveas(gcf, 'Parabolic_trajectory.eps', 'psc2')
  plot2svg('Parabolic_trajectory.svg');

function ball(x, y, radius, color) % draw a ball of given uniform color 
   Theta=0:0.1:2*pi;
   X=radius*cos(Theta)+x;
   Y=radius*sin(Theta)+y;
   H=fill(X, Y, color);
   set(H, 'EdgeColor', [0, 0, 0]);

function arrow(start, stop, thickness, arrow_size, sharpness, arrow_type, color)
 
% Function arguments:
% start, stop:  start and end coordinates of arrow, vectors of size 2
% thickness:    thickness of arrow stick
% arrow_size:   the size of the two sides of the angle in this picture ->
% sharpness:    angle between the arrow stick and arrow side, in degrees
% arrow_type:   1 for filled arrow, otherwise the arrow will be just two segments
% color:        arrow color, a vector of length three with values in [0, 1]
 
% convert to complex numbers
   i=sqrt(-1);
   start=start(1)+i*start(2); stop=stop(1)+i*stop(2);
   rotate_angle=exp(i*pi*sharpness/180);
 
% points making up the arrow tip (besides the "stop" point)
   point1 = stop - (arrow_size*rotate_angle)*(stop-start)/abs(stop-start);
   point2 = stop - (arrow_size/rotate_angle)*(stop-start)/abs(stop-start);
 
   if arrow_type==1 % filled arrow
 
      % plot the stick, but not till the end, looks bad
      t=0.5*arrow_size*cos(pi*sharpness/180)/abs(stop-start); stop1=t*start+(1-t)*stop;
      plot(real([start, stop1]), imag([start, stop1]), 'LineWidth', thickness, 'Color', color);
 
      % fill the arrow
      H=fill(real([stop, point1, point2]), imag([stop, point1, point2]), color);
      set(H, 'EdgeColor', 'none')
 
   else % two-segment arrow
      plot(real([start, stop]), imag([start, stop]),   'LineWidth', thickness, 'Color', color); 
      plot(real([stop, point1]), imag([stop, point1]), 'LineWidth', thickness, 'Color', color);
      plot(real([stop, point2]), imag([stop, point2]), 'LineWidth', thickness, 'Color', color);
   end

Captions

Add a one-line explanation of what this file represents

Items portrayed in this file

चित्रण

२० दिसम्बर 2007

media type अंग्रेज़ी

image/svg+xml

data size अंग्रेज़ी

७,७१२ बाइट

checksum अंग्रेज़ी

202dfd7b871935cc90eee602e117a0fc525737cd

चित्र का इतिहास

चित्र पुराने समय में कैसी दिखती थी यह जानने के लिए दिनांक/समय पर क्लिक करें।

दिनांक/समयथंबनेलआकारसदस्यटिप्पणी
वर्तमान१७:५५, २ अक्टूबर २०२४१७:५५, २ अक्टूबर २०२४ के संस्करण का थंबनेल संस्करण५१२ × २१२ (८ KB)wikimediacommons>Glrxfix empty viewBox; delete width and height // Editing SVG source code using c:User:Rillke/SVGedit.js

यह पृष्ठ इस चित्र का इस्तेमाल करता है: