concatenation for beginner python
quilt\_width=8

quilt\_width*3

print(quilt\_width)

why does not python print 24?
in the way you are doing it it will give 8 because you print quilt\_width that’s equal to 8. to give you 24 you need do that:

quilt\_width=8

response = quilt\_width * 3

print(response)
>printf("%c", len\_char); //<this does not print anything too!!  

What did you expect it to print? You realize that the %c format modifier takes the integer value you supply and prints the character representation of that integer, right? In other words, it's not going to print '3'...ever. As long as the lengths are single digits, you can say len\_char + '0' and get the correct representation, but once the length exceeds 9, you're SOL with this method. i wouldn’t touch the python. add it into a custom node so you can make use of list levels and lacing instead. th is will also make it easier to maintain your code over time. The file looks to be fine. It's 4500 X 300 pixels and the quality looks decent. 

The size probably that you're trying to print is quite large and you'll be requiring a larger file to avoid pixelation. 

I'd suggest you probably check with your printer the minimum file size required to print such a canvas and then license a file accordingly. you can use the repmat function here
if you have to print the patter n (here 10) times, use the following code:
a = [5 4 3 2 1 0]';
n = 10;
b =repmat(a, n,1) i counted 54 elements in your ‘locations’ array.

now when i look at the ‘z’ array, i technically find 108 elements.

judging by your syntax, did you meant to use a ‘,’ to separate thousands and hundreds? (but python interprets it as a separation in a list) try setting the format for the udcodes\_longdesc in your baq to x - instead of x(xxx). then your dropdown will follow the width of your control. because each time fill() is invoked it is only applying 0.047% opacity over what was previously drawn. draw() runs aprox 60 times per second … ok so, you're simply making a wrong aggregation in your y-axis. what you want to do is make 3 aggregations of type sum, each one for a specific category (men-women-children), like the following:

[[image]](https://aws1.discourse-cdn.com/elastic/original/3x/4/4/441907755076ca3a9417b959036a79f906d45448.png "image")

though, if you want to make something more professional and good-looking, since you're interes… >>when I compile, there are no errors,  

Ditch the compiler and use a different one. There is a link error.



>>void print ()



Wrong. should be `void testClass::print ()` it's not clear what it is you want as an output. if it's a row vector, there's no concatenation involved, you just simply reshape your matrix:
a = [0 1 1 1;
 1 0 1 0;
 1 0 0 1]
 v = reshape(a, 1, []) %reshape a into one row. since matlab is column major, this is done column-wise