quiverc
This function allow the quick creation of vector filled plots.
Author: Francesco
1. Very good work! Is there any way to convert the zero velocity vectors to a point so that the output quality would be very good.
2. Is there any way to incorporate other colormaps with the color bar?
03 Jul 2012
quiverc
This function allow the quick creation of vector filled plots.
Author: Francesco
Saving issues!
The resultant output quality is very attractive (other than zero velocity vectors). But when I saved as Matlab figure file the values in the colorbar disappears and when saved as a Tiff or Png file or in any format everything disappears and it looks completely black! Is there any way to over come this problem.
Very good code and also it would be very useful to me. It gave me what I expected. But I could not change the XTicks and YTicks and their labels and also particularly could not change the fontname and fontsize. I have tried with a simple example which is as follows.
x = -pi:0.01:pi
X = x';
y = sin(x);
Y = y'
figure(1)
plot(X,Y,'Linewidth',2);grid on;
oa = oaxes;
oaxes('YColor',[0 0.5 0],'LineWidth',2)
oaxes('XColor',[0 0.5 0],'LineWidth',2)
set(oa,'XLabel',{'-X','X'});
set(oa,'YLabel',{'-Y','Y'});
set(get(oa,'hXLabel'),'fontname','Times New Roman','fontweight','bold','FontSize',12);
set(get(oa,'hYLabel'),'fontname','Times New Roman','fontweight','bold','FontSize',12);
set(gca('XTickLabel'),{'-5','-4','-3','-2','-1','0','1','2','3','4','5'},'fontname','Times New Roman','fontweight','bold','FontSize',20)
set(gca('YTickLabel'),{'1','-0.8','-0.6','-0.4','-0.2','0','0.2','0.4','0.6','0.8','1'},'fontname','Times New Roman','fontweight','bold','FontSize',20)
legend('Sine Wave',2)
Alexandru: Perhaps there is another function 'ss' on your path that is superseding the built-in ss function:
http://www.mathworks.com/help/control/ref/ss.html
You can use the 'which' command to find out if this is the issue.
Another possibility is the ss is part of the control system toolbox. If you don't have that toolbox, then ss will not work.
Hello,
I am interested in your app. But I have problems when running it. I get this error:
Undefined function 'ss' for input arguments of type 'double'.
Error in sim_qcar (line 48)
qcar = ss(Aqcar,Bqcar,Cqcar,Dqcar);
What am I missing?
Thank you!
Alex
umf is a multiplication factor that allows quick exploration of road profiles with different levels of roughness. It should be set to 1 for the output to correspond to the road profile in the .mat file.
Nice catch Louis. Yes, dt should be changed to dt2 on line 62.
Very helpful model, I have two comments though:
1. I think umf should be set to 1 (or removed)
2. on line 62 the division by dt should be changed to a division by dt2
These two details made the script output inaccurate results; the script otherwise gives consistent results.
Comment only