MAIN FEEDS
Do you want to continue?
https://www.reddit.com/r/Mathematica/comments/1wz9fpq/how_do_i_graph_them/
r/Mathematica • u/unknow_ccla • Oct 06 '26
4 comments sorted by
8
{* solution plane only *} RegionPlot[ {y > (1/2)x + 1 && y < (3/2)x - 1} , {x, -5, 5} , {y, -5, 5} , GridLines -> Automatic , Axes -> True , AxesOrigin -> {0,0} , AxesStyle ->Thick , ImageSize -> Large , Frame -> False ]
Or alternately
{* Both regions and intersection with ',' rather than '&&' *} RegionPlot[ {y > (1/2)x + 1 , y < (3/2)x - 1} , {x, -5, 5} , {y, -5, 5} , GridLines -> Automatic , Axes -> True , AxesOrigin -> {0,0} , AxesStyle ->Thick , ImageSize -> Large , Frame -> False ]
2 u/adwolesi Oct 07 '26 This is also supported by Woxi!https://woxi.ad-si.com/playground/?code=M4ewNgrgLgliB2AFMBDeBTA8vMBPABALz74BK6A5nEmCFANokBQJ%2BA3gQHz4AUAjAHoATAEoAHvgDU%2BPvgBkc-AQA8vAMzDx%2BALQyAvs1YAadmJPaArCYsH8LEiY7mr%2BG4Yf4A4gCcYAEwAZGAxgHW4AQWgQAFsUWABjd3wTcLF0UO1uABVvCHQklLTgTF8qeDD2AAYjStt7ZPxU9IBlKFwwfMysgAsYeIBrAvwASViKdGaYAC9O7gCUb3GhgDFvFGjZ-GWUMGB8u3wAXQBuFm9KamBw%2BD9h%2BCh0bz342AQiMguEZDpGA5IOfDcfiaCTSWQmFTqEE6fRDNhmHQuNx-BpORHWOrGLy%2BQLBdIVSJQGJxPpDJoZbK5fb1QrpEowMoVNjVWpkoqtdqzHp9QYokyjFDjSYzCrzRbUrGrdabba7CUnFg%2BFAAB168WApBAAHd6GxQJBXjQ0FgcLgTOcqAgrjc7g8nugXtQ9IcgA
2
This is also supported by Woxi!
https://woxi.ad-si.com/playground/?code=M4ewNgrgLgliB2AFMBDeBTA8vMBPABALz74BK6A5nEmCFANokBQJ%2BA3gQHz4AUAjAHoATAEoAHvgDU%2BPvgBkc-AQA8vAMzDx%2BALQyAvs1YAadmJPaArCYsH8LEiY7mr%2BG4Yf4A4gCcYAEwAZGAxgHW4AQWgQAFsUWABjd3wTcLF0UO1uABVvCHQklLTgTF8qeDD2AAYjStt7ZPxU9IBlKFwwfMysgAsYeIBrAvwASViKdGaYAC9O7gCUb3GhgDFvFGjZ-GWUMGB8u3wAXQBuFm9KamBw%2BD9h%2BCh0bz342AQiMguEZDpGA5IOfDcfiaCTSWQmFTqEE6fRDNhmHQuNx-BpORHWOrGLy%2BQLBdIVSJQGJxPpDJoZbK5fb1QrpEowMoVNjVWpkoqtdqzHp9QYokyjFDjSYzCrzRbUrGrdabba7CUnFg%2BFAAB168WApBAAHd6GxQJBXjQ0FgcLgTOcqAgrjc7g8nugXtQ9IcgA
5
I'd say use the RegionPlot function, since it has inequality support. It might be possible with Plot and messing with the filling parameters, but RegionPlot makes sense here.
https://www.wolframalpha.com/input?i=+plot+y%3E+-1%2F2*x%2B1 wolfram alpha has a plain text button, there you can see how to make the plot in wolfram language code
8
u/stblack Oct 06 '26 edited Oct 07 '26
Or alternately
5
u/Imanton1 Oct 06 '26
I'd say use the RegionPlot function, since it has inequality support. It might be possible with Plot and messing with the filling parameters, but RegionPlot makes sense here.
2
u/checpe Oct 06 '26
https://www.wolframalpha.com/input?i=+plot+y%3E+-1%2F2*x%2B1 wolfram alpha has a plain text button, there you can see how to make the plot in wolfram language code