You were not mislead, but things should have been explained a bit clearer if possible. Discussions take place in chambers so the judge can be frank with the attorneys and vice versa. the judge could have said that he wasn't going to give you to your attorney. as a result, your attorney tried to get the best he could, then came back and gave your options.
NEVER describe your facts in an online forum. I have CONFIRMED there is at least ONE county prosecutor that is a member of this site. My statements are my opinion solely based on the information provided, and that opinion can be wrong if your facts are different than what I believed them to be. If you have any further questions, you can contact me at 636-532-1400 or through my website http://mcmichael-logan.com
As a client, you always have the right to know what is going on with plea negotiaions. If you were not satisfied with the offer you had the right to not accept and proceed to trial. I assume that you entered a plea, and the judge asked you whether you had enough time to discuss the matter with your attorney, and whether anybody had forced you or coereced you into changing your plea. Hindsight is 20-20, but if you have a question or a concern always ask for a moment to consult with your attorney.
What has been explained to you by my colleagues is true, at times Judges have the ability to say no to plea negotiations and not accept recommendations of attorneys and they tell them this beforehand. If you didn't like it then you should have tried it. Anyway the practice of this was ok. You just needed to get more time with your attorney to make sure you understood.