I would suggest writing a user defined function (UDF) and store the function in a user defined memory (UDM) slot. Then you can plot the data stored in the UDM.
Check out the Fluent UDF manual for details on how tor write UDFs. You will need some basic skills in C programming.
If your equation involves variables already calculated by running your case, you can use Custom Field Function, under Define tab. I am assuming you are wanting to plot some variable which depends on other flow variables, fluent has already calculated.
if you want to plot an equation in Flmuent code, you have to go to
plot -> XY plot -> in panel of Solution XY plot -> you load the file that contain the result of you equation and compare in your result given by Fluent