function dr = drawlplq(x0,y0,dx,ds,F,dc);         
%  drawlplq.m               
%  Realization generated from the drawing window of the toolbox 
%                     
%      DrawFilt version 2.5  ---  Drawing Filter Realizations   
%                     
%   Authors: Miroslav D. Lutovac, Dejan V. Tosic    
%   Email: lutovac@iritel.bg.ac.yu      http://galeb.etf.bg.ac.yu/~lutovac/
%   Email: tosic@galeb.etf.bg.ac.yu     http://www.rcub.bg.ac.yu/~tosicde/
%   Copyright (c) 1999-2001 by Lutovac & Tosic            
%   $Revision: 2.01 $  $Date: 2001/12/24$           
%                      
%   See also:                 
%   Miroslav D. Lutovac, Dejan V. Tosic, Brian L. Evans   
%        Filter Design for Signal Processing       
%    Using MATLAB and Mathematica           
%        Prentice Hall - ISBN 0-201-36130-2        
%         http://www.prenhall.com/lutovac          
%                      
% call   drawlplq(0,0,4,5,8,'k')          
% call   drawlplq                  
% creation date: 26-Oct-2001  time: 17:9
%                      
mydrawDrawFiltLutovacTosic = '2p5'; % don't edit this line
narginmydraw = nargin;
if narginmydraw ~= 6, x0=0; y0=0; dx=4; ds=5; F=8; dc='k'; end,
Nx = 100; Ny = 100; whitebg(figure(gcf),[1 1 1]);
x = (1:4*Nx)*dx/4 + x0; y = (1:4*Ny)*dx/4 + y0;
drawres(x(3), y(7), x(7), ' ', 'R_{11}', 0, ds/2, F, dc);       
drawres(x(7), y(3), y(7), ' ', 'R_{12}', 1, ds/2, F, dc);       
drawres(x(7), y(7), x(11), ' ', 'R_3',  0, ds/2, F, dc);      
drawcap(x(11), y(3), y(7), ' ', 'C_4',  1, ds/2, F, dc);      
drawcap(x(7), y(9), x(16), ' ', 'C_2',  0, ds/2, F, dc);      
drawlhv(x(12), y(5), x(16), y(3), 1, dc);      
drawlhv(x(11), y(7), x(12), y(7), 0, dc);      
drawlhv(x(7), y(7), x(7), y(9), 0, dc);        
drawlhv(x(16), y(6), x(16), y(9), 0, dc);      
drawlhv(x(16), y(6), x(16), y(3), 0, dc);      
drawgrnd(x(7), y(3), 0, ds/2, dc);             
drawgrnd(x(11), y(3), 0, ds/2, dc);            
drawnode(x(16), y(6), 'V_4', 0, 1, F, dc);      
drawnode(x(7), y(7), 'V_2', 3, 1, F, dc);       
drawnode(x(11), y(7), 'V_3', 2, 1, F, dc);      
drawopam(x(12), y(6), x(16), ' ', 'A', 0, ds, F, dc);        
drawtext(x(3), y(9), 'LP-LQ',F+2, dc);         
drawin(x(3), y(7), 'V_1', 2, ds, F, dc);        
drawtext(x(1), y(9), ' ',F, dc);               
drawtext(x(18), y(9), ' ',F, dc);              
axis('equal')
axis('off')
