Inverting op amp not working
The op-amp cannot output a voltage lower than its supply voltage (which is 0V for the V- rail). So the circuit you show will output slightly more than 0V since the op-amp output is sinking current (and it's a RRIO op-amp that works well from 3.3V).
In the case of the ancient 741, it cannot work from 3.3V (+/-5V is the minimum recommended), cannot output voltages even approaching its supply rails and cannot accept inputs that are too close to the supply rails). So the simulation is not very useful unless you give it something reasonable like +/-10V supplies.
Edit:
Maybe something like this.
Vout = 3V - (0.3V)*(R1/Rx)
So for Rx = \$\infty\$, Vout = 3V
for Rx =  1K , Vout ~= 0V
This concentrates most of the &quot;action&quot; between 1K and a few K, which I'm not sure is what you want, but it's what you asked for.



simulate this circuit &ndash; Schematic created using CircuitLab