To rotate by pi/2 radians about the z axis, you can use:
syms x
figure(1);
Function = 45/4 - (27*x)/2; %My function
fplot(x, Function, '-'); %Plotting my function
hold on
syms t
R = [cos(t) -sin(t); sin(t) cos(t)]; % rotation matrix
rotXY = subs(R*[x;Function], t, pi/2);
fplot(rotXY(1), rotXY(2));
