A method for patterning a piece of carbon nanomaterial, wherein - the piece of carbon nanomaterial (i) has a length, a width, and a thickness or (ii) is obtainable, e.g. by bending or rolling, from a sample of carbon nanomaterial having a length, a width, and a thickness, wherein - the length is greater than or equal to the thickness, the width is greater than or equal to the thickness, and the thickness is at most 50 nm, - the carbon nanomaterial comprises (i) a monolayer of graphene, optionally at most partly oxidized, or (ii) multilayer graphene comprising a number of graphene monolayers, wherein the number is at most 30, optionally chemically treated on at least a surface - the piece of carbon nanomaterial comprises a region, in which the molar ratio of oxygen to carbon has a base value that is equal to or greater than zero, - the region of the piece of carbon nanomaterial comprises at least 80 mol-% carbon atoms, - the region comprises a first area in such a way that the first area is smaller than the region; whereby the region and the first area define a base that is comprised by the difference of the region and the first area; the method comprising - generating a first light pulse sequence with first light pulse sequence property values, the first light pulse sequence comprising at least one light pulse and - exposing the first area to said first light pulse sequence in a first process environment having a first oxygen content, without exposing at least part of the base to said first light pulse sequence; - generating the first light pulse sequence using a laser, such that a light pulse of the first light pulse sequence comprises photons having a wavelength from 400 nm to 1100 nm, thereby - oxidizing locally, in the first area, at least some carbon atoms of the piece of carbon nanomaterial by two-photon or multiphoton oxidation in such a way that - at most 10 % of the carbon atoms of the first area are removed from the first area and - after said exposing the first area to said first light pulse sequence, in the first area, the molar ratio of oxygen to carbon atoms has a first value, the first value being greater than the base value; thereby - patterning the first area of the piece of carbon nanomaterial. - the piece of carbon nanomaterial (i) has a length, a width, and a thickness or (ii) is obtainable, e.g. by bending or rolling, from a sample of carbon nanomaterial having a length, a width, and a thickness, wherein - the length is greater than or equal to the thickness, the width is greater than or equal to the thickness, and the thickness is at most 50 nm, - the carbon nanomaterial comprises (i) a monolayer of graphene, optionally at most partly oxidized, or (ii) multilayer graphene comprising a number of graphene monolayers, wherein the number is at most 30, optionally chemically treated on at least a surface - the piece of carbon nanomaterial comprises a region, in which the molar ratio of oxygen to carbon has a base value that is equal to or greater than zero, - the region of the piece of carbon nanomaterial comprises at least 80 mol-% carbon atoms, - the region comprises a first area in such a way that the first area is smaller than the region; whereby the region and the first area define a base that is comprised by the difference of the region and the first area; the method comprising - generating a first light pulse sequence with first light pulse sequence property values, the first light pulse sequence comprising at least one light pulse and - exposing the first area to said first light pulse sequence in a first process environment having a first oxygen content, without exposing at least part of the base to said first light pulse sequence; - generating the first light pulse sequence using a laser, such that a light pulse of the first light pulse sequence comprises photons having a wavelength from 400 nm to 1100 nm, thereby - oxidizing locally, in the first area, at least some carbon atoms of the piece of carbon nanomaterial by two-photon or multiphoton oxidation in such a way that - at most 10 % of the carbon atoms of the first area are removed from the first area and - after said exposing the first area to said first light pulse sequence, in the first area, the molar ratio of oxygen to carbon atoms has a first value, the first value being greater than the base value; thereby - patterning the first area of the piece of carbon nanomaterial.