The carpetplot class is a tool to create four variable carpet plots and three variable cheater plots. It supports different kind of input data and some additional features like...
- Support for scattered data
- Support for matrix input
- Interpolation of points
——不同的曲线拟合方法
- A set of pre defined styles
- Labels
- Adding constraints
- Coordinate system transformation
- Multiple carpet plots support
- Filled Contours
- Set and Get functions for all
properties
- Lattice plots
Matthias (2021).The carpetplot class(//www.tianjin-qmedu.com/matlabcentral/fileexchange/41467-the-carpetplot-class), MATLAB Central File Exchange. Retrieved.
Inspired by:arrow,Hatched Lines and Contours
Inspired:OdonataResearchLLC/CarpetPlotClass,Fuel fraction sizing,Simple propulsion performance estimation
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Create scripts with code, output, and formatted text in a single executable document.
Keep getting the same error,
Error in arrow (line 423)
ax = o * gca;
It won't plot. It runs but nothing pops up
Hi,
I am trying to run your examples but I get errors every time they try run.
% Example 1: Create a simple cheater plot with matrix input data.
% a = 1:0.25:2; b=1:20:100;
% [A B] = meshgrid(a, b);
% Y = A.*B;
%
% o = carpetplot(A, B, Y);
% label(o, 'A-Axis', 'B-Axis')
This returns:
Undefined operator '*' for input arguments of
type 'matlab.graphics.axis.Axes'.
Error in arrow (line 423)
ax = o * gca;
Error in carpetplot/plabel (line 2910)
obj.axis{nAxis}.arrowHandle =
arrow([pDataX(1,1)
pDataY(1,1)],[pDataX(1,end)
pDataY(1,end)],obj.axis{nAxis}.arrowSpec{:});
Error in carpetplot/label (line 2118)
obj.plabel(1);
Whilst with the same input data, if I just run :
o = carpetplot(A, B, Y, 'spline');
The following error results:
Error using plot3
Error in color/linetype argument.
Error in carpetplot/cplot (line 1820)
obj.axis{1}.lineHandles =
plot3(obj.plotDataX,obj.plotDataY,plotDataZ,obj.axis{1}.lineSpec{:});
Error in carpetplot (line 887)
obj.cplot
Help is greatly appreciated
hi
i'm getting a following error
Undefined operator '*' for input arguments of type 'matlab.graphics.axis.Axes'.
Error in arrow (line 423)
ax = o * gca;
Error in carpetplot/plabel (line 2908)
obj.axis{nAxis}.arrowHandle = arrow([pDataX(1,1) pDataY(1,1)],[pDataX(1,end)
pDataY(1,end)],obj.axis{nAxis}.arrowSpec{:});
Error in carpetplot/alabel (line 2068)
obj.plabel(1)
Error in mk (line 25)
alabel(o,'T/W');
I´m on the R2013a and every time I try to use this package it seems that the tool carpetplot is not installed. I need urgent help.
Great package, but I'm getting an error when trying to label the plot using label(). I'm on R2014b.
Undefined function 'mtimes' for input arguments of type
'matlab.graphics.axis.Axes'.
Error in arrow (line 424)
ax = o * gca;